Jump to:

2076 Posts in 857 Topics by 449 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, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1234 Views
  • Chillyr
    Avatar
    Community Member
    5 Posts

    Payment Gateways Worldpay Link to this post

    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

  • Chillyr
    Avatar
    Community Member
    5 Posts

    Re: Payment Gateways Worldpay Link to this post

    Please can any one give me any advise on this I seem to just hit a deadend.

    HELP!!!!!!!!!

  • inCharge
    Avatar
    Community Member
    102 Posts

    Re: Payment Gateways Worldpay Link to this post

    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

    1234 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.