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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Payments and Payment Gateway / APIs /

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

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

payments/ObjectForm blank page


Go to End


2 Posts   2236 Views

Avatar
Room9

Community Member, 19 Posts

24 January 2011 at 2:03pm

Edited: 24/01/2011 2:03pm

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

Community Member, 49 Posts

25 February 2011 at 4:57pm

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}");