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

WorldPay Payment


Go to End


3 Posts   2177 Views

Avatar
Phill

Community Member, 81 Posts

13 January 2009 at 12:11am

Hey

Im trying to set up Worldpay payment but when i try to set the test_mode i just get a blank screen the code im using i below.

WorldpayPayment::set_testmode(100);

Iv check the php error logs which is returning

[Mon Jan 12 10:09:12 2009] [error] [client 152.105.250.122] PHP Fatal error: Call to undefined method WorldpayPayment::set_testmode() in /var/www/html/mysite/_config.php on line 54, referer:

but iv checked and the method does exist in the WorldpayPayment.php file.

Any one had this problem or any ideas on how to fix this?

Thanks

Avatar
kcd

Community Member, 54 Posts

29 June 2009 at 9:59am

Avatar
JonShutt

Community Member, 244 Posts

4 June 2011 at 11:38am

hi, did you ever get this working?
i'm getting exactly the same problems....