1999 Posts in 530 Topics by 433 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » Payment Gateways Worldpay
Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.
Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1056 Views |
-
Payment Gateways Worldpay

1 June 2011 at 8:55pm
I really hope someone can help me - I am trying to get my head around silverstripe but I am a novice and really pressed for time!!
I just need basic instructions (like really basic!) on how to get the worldpay payment gateway working.
Can someone PLEASE TAKE PITY ON ME.
I have the Ecommerce and Payments module installed, currently I have only a cheque option on the cart.
I have an account with Worldpay so I basically just need to know how to tie the two together.
Charlie
-
Re: Payment Gateways Worldpay

2 June 2011 at 3:05pm
Please can any one give me any advise on this I seem to just hit a deadend.
HELP!!!!!!!!!
-
Re: Payment Gateways Worldpay

2 June 2011 at 11:36pm
I wouldn't recommend anyone working with the ecommerce module for their first SilverStripe, because the code is the documentation, so you've got to understand what you're looking at. It's pretty heavy going even for experienced SilverStipers.
Anyway, to answer your question, I think you want to add something like this to _config.php...
Payment::set_supported_methods(array('ChequePayment' => 'Account', 'WorldpayPayment' => 'Credit/Debit card'));
WorldpayPayment::set_installation_id(111111);
WorldpayPayment::set_testmode(100);
WorldpayPayment::set_callback_password(blahblah);The last 3 lines are from the comment at the top of payment/code/WorldpayPayment.php
| 1056 Views | ||
|
Page:
1
|
Go to Top |

