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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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

Setting up ecommerce with pxpay


Go to End


7 Posts   2120 Views

Avatar
aarono

Community Member, 34 Posts

11 February 2011 at 12:20pm

Edited: 12/02/2011 3:20pm

Hi guys

I have got ecommerce 0.8.1rc1 installed on Silverstripe 2.4.3 and im tying to get the dpspayment working with pxpay. It seems to always want to use the pxpost option by default and I cant figure out how to get it use pxpay. Does anyone have any suggestions?

This is all I have in my _config.php

Payment::set_supported_methods(array(
	'DPSPayment' => 'Credit card (DPS)'
));
DPSAdapter::set_pxpay_account('test', 'testpassword');

Interestingly the harness also doesnt seem to want to work when doing a DPS hosted payment.

I need to get this sorted asap so if anyone could help that would be great

Cheers

Avatar
aarono

Community Member, 34 Posts

12 February 2011 at 2:55pm

Anyone? need to get this sorted

Avatar
Jedateach

Forum Moderator, 238 Posts

14 February 2011 at 11:34am

Hi aarono,

Try the DPS payment type stored in the eCommerce svn repository.
http://code.google.com/p/silverstripe-ecommerce/source/browse/#svn%2Fmodules

cheers,
Jeremy

Avatar
aarono

Community Member, 34 Posts

14 February 2011 at 2:36pm

Thanks for your reply Jedateach

I have actually done some modification of my own and managed to get it to work with PxPay, so I will continue to head down this route for now.

Cheers
Aaron

Avatar
Powwow

Community Member, 1 Post

10 October 2011 at 12:41am

Hey Aarono,

Just wondering how you ended up solving this issue. Looking for an answer ASAP. Same problem. It keeps wanting to put in the credit card form on the checkout even though i have the line:

DPSAdapter::set_pxpay_account('my user', 'my id');

Would love to know how you resolved the problem.

Cheers..

Avatar
aarono

Community Member, 34 Posts

10 October 2011 at 10:04am

Hi Powwow

Unfortunately I have no real answers for you. If I remember correctly, I had to make some modifications to the code to get it to work. However I don't remember what I changed. I think you might have to start with some debugging!

Cheers

Avatar
Yataka

Community Member, 6 Posts

10 October 2011 at 2:22pm

Thanks for sharing!!