This is a dummy backend suitable for testing your store without contacting any payment gateways. Instead of using an external service it will simply show you a form that allows you to confirm or reject the payment.

Cybersource allows you to pass Merchant-Defined Data, which is additional information about the payment or the order, such as an order number, additional customer information, or a special comment or request from the customer. This can be accomplished by passing your data to the Payment instance:

This backend implements payments using a popular Polish gateway, Dotpay.pl.

Due to API limitations there is no support for transferring purchased items.

Parameters:

seller_id – Seller ID assigned by Dotpay

pin – PIN assigned by Dotpay

channel – Default payment channel (consult reference guide)

lang – UI language

lock – Whether to disable channels other than the default selected above

endpoint – The API endpoint to use. For the production environment, use 'https://ssl.dotpay.pl/' instead

Example:

# use defaults for channel and lang but lock available channelsPAYMENT_VARIANTS={'dotpay':('payments.dotpay.DotpayProvider',{'seller_id':'123','pin':'0000','lock':True,'endpoint':'https://ssl.dotpay.pl/test_payment/'})}

library – The API library to use. For the production environment, use 'https://wallet.google.com/inapp/lib/buy.js' instead

Example:

# use sandboxPAYMENT_VARIANTS={'wallet':('payments.wallet.GoogleWalletProvider',{'seller_id':'112233445566','seller_secret':'1234567890abcdef','library':'https://sandbox.google.com/checkout/inapp/lib/buy.js'})}

This backend requires js files that should be added to the template using {{form.media}} e.g:

endpoint – The API endpoint to use. For the production environment, use 'https://live.sagepay.com/gateway/service/vspform-register.vsp' instead

Example:

# use simulatorPAYMENT_VARIANTS={'sage':('payments.sagepay.SagepayProvider',{'vendor':'example','encryption_key':'1234567890abcdef','endpoint':'https://test.sagepay.com/Simulator/VSPFormGateway.asp'})}