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.
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.
Please can any one give me any advise on this I seem to just hit a deadend.
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