1999 Posts in 530 Topics by 433 members
|Go to End|
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.
2 June 2011 at 3:05pm
Please can any one give me any advise on this I seem to just hit a deadend.
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'));
The last 3 lines are from the comment at the top of payment/code/WorldpayPayment.php
|Go to Top|