SagePay payment gateway package for django-oscar Documentation



Similar documents
Form Protocol and Integration Guideline. Form Protocol and Integration Guideline (Protocol v3.00)

Python DNS Failover Documentation

Memopol Documentation

Django Two-Factor Authentication Documentation

Your questions about preventing online fraud answered

Accepting Ecommerce Payments & Taking Online Transactions

My Sage Pay User Manual

Magento OpenERP Integration Documentation

Sage Pay Direct Integration and Protocol Guidelines Published: 01/08/2014

MySagePay. User Manual. Page 1 of 48

latest Release 0.2.6

django-gcm Documentation

Overview of Credit Card Payment Processing in Digital StoreFront

Sage Pay Fraud Prevention Guide

Test and Go Live User Guide. Version 4.3 February 2014 Business Gateway

Server Protocol and Integration Guideline (Protocol v3.00) Published Date 27/08/2013

Mail & Telephone Order Payments Service (WorldAccess) Guide. Version 4.3 February 2014 Business Gateway

Rapid Website Deployment With Django, Heroku & New Relic

Amazon Payments Implementation Guide. Support for ZenCart

Automated Payments Processing Plug-In For RateTiger and Connect by erevmax

GATEWAY FREEDOM INTEGRATION GUIDE

Big Fish ecommerce. BF Admin Module Payment Settings.doc

Diablo 3 API Documentation

django-cron Documentation

Server and Direct Shared Protocols

Swedbank Payment Portal Implementation Overview

COMMERCIAL-IN-CONFIDENCE

Frequently Asked Questions for Order Processing and Payment Options:

Secure Card Data. Specification. Version SIX Payment Services

Realex Payments. Magento Community / Enterprise Plugin. Configuration Guide. Version: 1.1

How to Start a WordPress E-commerce site using WooCommerce

Table of Contents. Revision

Trytond Magento Documentation

Support of Windows Server 2012 The NCP Secure Enterprise VPN Server supports the Windows Server 2012 (64 bit) operating system.

Effective Django. Build Nathan Yergler

Implementation guide - Interface with the payment gateway PayZen 2.5

How To Pay With Worldpay (Hosted Call Centre)

Payflow Link User s Guide

PaperCut Payment Gateway Module - PayPal Payflow Link - Quick Start Guide

PROCESS TRANSACTION API

JOINUS AG. PowerPay Checkout. Magento Module User Manual. Support:

Authorize.net modules for oscommerce Online Merchant.

E-commerce Website Design

Website Payments Pro Hosted Solution Integration Guide. (Payflow Edition) United Kingdom

e Merchant Plug-in (MPI) Integration & User Guide

Global Iris Integration Guide ecommerce Remote Integration

Payment solutions for online commerce. Web Hosted Integration Guide. (Gateway Hosted)

Magento Extension User Guide: Payment Pages. This document explains how to install the official Secure Trading extension on your Magento store.

Paya Card Services Payment Gateway Extension. Magento Extension User Guide

Cardsave Payment Gateway

Official Payments Credit Card Gateway Configuration

Virtual Terminal User Guide

A Reseller s Guide to Using Helm

FAQ INDEX. 2 : Make a reservation 3 : Confirm, change and cancel a reservation 4 : About Hoshino Resorts Customer Account 5 : Others

Sage e-businessvision and Sage Exchange

Frequently Asked Questions

PAYMENT GATEWAYS BURHAN STARTUPQ8 7 TH EVENT MARCH

The guide to Consolidated Billing

How To Comply With The Pci Ds.S.A.S

Website Payments Plus Integration Guide

Merchant account application form

E-Commerce Website For UK Based Company

DIRECT INTEGRATION GUIDE DIRECT INTEGRATION GUIDE. Version: 9.16

PaperCut Payment Gateway Module - PayPal Payflow Link - Quick Start Guide

magento features list

Django FTP Deploy Documentation

OpenCanary Documentation

MiGS Virtual Payment Client Integration Guide. July 2011 Software version: MR 27

Tuskar UI Documentation

Using GitHub for Rally Apps (Mac Version)

The DirectOne E-Commerce System

payment solutions The DirectOne E-Commerce System Technical Manual

How to complete the Secure Internet Site Declaration (SISD) form

Merchant Services Application

Frequently Asked Questions. regarding CIB Bank Zrt. s. ecommerce online card-acceptance service

Django FTP server Documentation

ANZ egate Virtual Payment Client

Django on AppEngine Documentation

Process Transaction API

Integrate your website with Worldpay in 5 steps

UPG plc Atlas Technical Integration Guide

Recurring Billing. Using the Business Center. May CyberSource Corporation HQ P.O. Box 8999 San Francisco, CA Phone:

Website Payments Pro Hosted Solution Integration Guide. Hong Kong

Django Mail Queue Documentation

TOURISM INNOVATIVE PAYMENT SOLUTIONS. Efficient, flexible, worldwide and secure

SPECIAL TERMS AND CONDITIONS PLEASE CONSIDER PRIOR TO PAYMENT

Sage Pay User Guide for Sage 200

OpenMind: Know Your Customer

Address Verification and Security Code Guide. AVS Guide

MAGENTO - SETUP PAYMENT PLANS

django-project-portfolio Documentation

django-helpdesk Documentation

Payment Page Integration

Fraud Prevention Guide. Version 3.0 January 2013

Dry Dock Documentation

PayPal. PayPal Payments Pro. Click system Configuration Sales Payment Method PayPal All-in-One Payment Solutions to set PayPal payment method.

e Merchant Plug-in (MPI) Integration & User Guide

Transcription:

SagePay payment gateway package for django-oscar Documentation Release 0.1.1 Glyn Jackson October 10, 2014

Contents 1 Installation and Configuration Guide 3 1.1 Installing Package............................................ 3 1.2 Configuration Settings.......................................... 3 1.3 Integration into checkout......................................... 4 2 Testing in Sandbox 5 2.1 Sandbox Installation........................................... 5 2.2 SagePay Test Credit Card Numbers................................... 5 3 Checkout Mode Banner 7 3.1 Adding the Checkout Banner...................................... 7 4 Indices and tables 9 i

ii

SagePay payment gateway package for django-oscar Documentation, Release 0.1.1 This package provides integration between django-oscar 0.6 or above and SagePay Direct payment gateway. This project is a work in progress and still in development. A direct integration enables you to collect your customers payment information on your own secure servers and securely pass card details across to SagePay to carry out authorisation and store them safely. This means that you can completely tailor the payment process to suit your business requirements. Note: To use SagePay Direct method you will need a 128-bit SSL certificate to secure your payment pages. Note: There is currently no support for form or server integrations. Contents: Contents 1

SagePay payment gateway package for django-oscar Documentation, Release 0.1.1 2 Contents

CHAPTER 1 Installation and Configuration Guide 1.1 Installing Package To get the latest stable release from PyPi: $ pip install django-oscar-sagepay To get the latest commit from GitHub: $ pip install -e git+git://https://github.com/sparky300/django-oscar-sagepay.git#egg=sagepay Add sagepay to your INSTALLED_APPS: INSTALLED_APPS = (..., sagepay, ) Add the sagepay URLs to your urls.py: urlpatterns = patterns(,... url(r ^sagepay/, include( sagepay.urls )), ) Then migrate your database:./manage.py migrate sagepay 1.2 Configuration Settings In order to test your integration first create a Sage Pay Simulator Account. Once this has been created you will be given the following... Vendor Name User Name Password Add the settings from the details you were given: 3

SagePay payment gateway package for django-oscar Documentation, Release 0.1.1 SAGEPAY_VENDOR = YOUR_VENDOR_NAME SAGEPAY_PASSWORD = YOUR_PASSWORD SAGEPAY_CURRENCY = GBP SAGEPAY_VPS_PROTOCOL = 2.23 # Options are Live, Test and Simulator SAGEPAY_MODE = Simulator Note that both currency and protocol are optional settings, if not set defaults will be used. 1.3 Integration into checkout You will first need to create a local version of Oscar s checkout app. See Oscar s documentation on how to create a local version. You ll then need to use a subclass of sagepay.views.sagepaydetailsview within your own checkout views.: from sagepay.views import SagePayDetailsView class PaymentDetailsView(SagePayDetailsView): pass SagePayDetailsView is actually a subclass of Oscar s own oscar.apps.checkout.views.paymentdetailsview class. 4 Chapter 1. Installation and Configuration Guide

CHAPTER 2 Testing in Sandbox 2.1 Sandbox Installation At the time of writing this django-oscar does not have a pip install for version 0.6 or above. Because of this I have removed django-oscar from the setup.py list of requirements. You will need to first install Oscar 0.6 directly from github i.e. git clone git@github.com:tangentlabs/django-oscar.git. To run the plugin in sandbox mode please perform the following steps: $ virtualenv django-env $ source django-env/bin/activate $ make sandbox $ sandbox/manage.py runserver $ make clean 2.2 SagePay Test Credit Card Numbers This is a list of the SagePay test credit card numbers you can use to test transactions in SagePay Direct when in test and simulator mode. There are many different test credit card numbers available to use with the SagePay test server and at each stage you must ensure you enter the numbers and other details required correctly - failure to do so will return a Not Matched message. Visa - 4929000000006 Visa Delta (Debit) - 4462000000000003 Visa Electron UK Debit - 4917300000000008 Mastercard - 5404000000000001 UK Maestro - 5641820000000005 International Maestro - 300000000000000004 American Express - 374200000000004 Japan Credit Bureau (JCB) - 3569990000000009 Diners Club - 36000000000008 Laser Cards - 6304990000000000044 5

SagePay payment gateway package for django-oscar Documentation, Release 0.1.1 Please note that these Sage Pay test card numbers cannot be used on the live server, where a real debit or credit card must be used to put through a test transaction. Expiry Date: any date in the future CV2: 123 Billing Address: 88 (you only have to use this on the first line) Billing Postcode: 412 3D Secure Password: password (not used in version 0.1 of django-oscar-sagepay) 6 Chapter 2. Testing in Sandbox

CHAPTER 3 Checkout Mode Banner django-oscar-sagepay ships with an optional custom tag that displays a banner dictating what checkout mode you are running. For example, if you are running in simulator mode i.e. SAGEPAY_MODE = Simulator a message banner could be displayed on the payment details view. 3.1 Adding the Checkout Banner The banner is not installed by default and is entirely optional. To add the checkout banner simply add the tage to the required view: {% load checkout_mode_tag %} {{ bankcard_form.as_table }} Another example would be to add the custom tag the payment details template: {% load checkout_mode_tag %} {% block payment_details_content %} {% banner %} <form action="{% url checkout:preview %}" class="form-stacked" method="post"> {% csrf_token %} {{ bankcard_form.as_table }} </form> {% endblock %} 7

SagePay payment gateway package for django-oscar Documentation, Release 0.1.1 8 Chapter 3. Checkout Mode Banner

CHAPTER 4 Indices and tables genindex modindex search 9