Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

testing DPS Gateway

Go to End



Community Member, 2 Posts

6 May 2009 at 2:20pm


we have DPS dev account with 3 parameters:

$PxAccess_Userid = "client_Dev";
$PxAccess_Key = "(a long hex key)";
$Mac_Key = "(a shorter hex key)";

and I've configured my _config.php with the first two.

does the eCommerce module ecommerce-trunk-r73215 use the $Mac-Key at all?

I am able to put sample products into a shopping cart and use a false cc account details according to this from DPS:

>>What credit card and expiry date should we be testing with?
>>Only pre-approved 'test card' numbers provided by DPS can be used for testing, within test environments. All test accounts aren't >>linked to a merchant account to actually verify the card. We recommend using the test card 4111111111111111 for Visa, >>5431111111111111 for MasterCard, 371111111111114 for Amex and 36000000000008 for Diners. These can be used with any >>current expiry, and are suitable only for DPS test accounts.

But I only get a result of:

06/05/2009 1:49pm Credit card (DPS) $2.00 NZD Failure The transaction was Declined (D2)

would this be something on the DPS account side or is it something I can tweak on the silverstripe side?

Thanks, John