Skip to content

helpfulrobot/sunnysideup-payment-paymentexpress

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Payment Express (DPS) - PxPay hosted payment type

More information about pxpay can be found here: http://www.paymentexpress.com/technical_resources/ecommerce_hosted/pxpay.html

Setup

Add 'DPSHostedPayment' to your supported payment types in your _config file, eg:

Payment::set_supported_methods(array(
	'DPSHostedPayment' => 'Credit card (DPS)'
));

Set your payment express user id and pay key with the following lines:

DPSHostedPayment::set_px_pay_userid('UserID');
DPSHostedPayment::set_px_pay_key('b032h3lsl0a340hgla39ag9a3hl2gol939gagao4ga3w4ga3l4l');

Note: it would be wise to start by using a test account initially.

Testing details

Use an amount ending in .76 to generate a declined transaction.

Test Credit Cards: 4111111111111111 - visa 5431111111111111 - mastercard 371111111111114 - amex 4444555566669999 - invalid card type 4999999999999202 - declined, with retry = 1

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%