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.

Payments and Payment Gateway / APIs

This is a forum for discussing SilverStripe can-do payments and their APIs / Gateways.

Moderators: martimiz, Sean, Normann, biapar, Willr, Ingo, swaiba, simon_w

payments/ObjectForm blank page


Reply

2 Posts   1621 Views

Avatar
Room9

24 January 2011 at 2:03pm (Last edited: 24 January 2011 2:03pm), Community Member, 19 Posts

Hi,

I just installed SS 2.4.4 and the payment and payment-test modules. I see the products but when I go buy, enter my details and then click 'proceed to pay' I just get a blank page with /payments/ObjectForm URL. I can't find any errors in my logs.

Any help?

Thanks!

Avatar
Scott Farmer

25 February 2011 at 4:57pm Community Member, 35 Posts

Hi,

I had this problem also. Adding the following details to the mysite/_config.php made this work.

Hope this helps.

// Define which payment methods your site uses.
Payment::set_supported_methods(array(
'DPSPayment' => 'Credit card (DPS)'
));
//setup test environment
DPSAdapter::set_pxpost_account('{PostUsername}', '{PostPassword}');

DPSAdapter::set_pxpay_account("PostUsername}", "{PostKey}");