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.

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, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Need help. Worldpay Payment callback URL (or response URL) setup.


Reply

5 Posts   5330 Views

Avatar
RW

14 July 2009 at 12:35pm Community Member, 6 Posts

Hi, I am trying to set up a e-commerce shop by using Worldpay Payment.
I am using SS2.3.2rc4, e-commerce module 0.6 beta1 and payment module 0.1 beta1.

The redirection to Worldpay server and payment process are all working, but I haven't had an idea about how to set up the callback URL (or payment response URL). I've searched through the forum and read http://www.silverstripe.org/e-commerce-module-forum/show/252723. This seems to be the only post discussed this issue. I've tried www.yoursite.com/WorldpayPayment_Handler/paid/ as the callback URL in Worldpay, it returned to me as the callback failed.

So I am wondering if anyone here could help and write a short instruction about how to set up the Silverstripe Worldpay callback URL. please.
Thank you.

Avatar
Jedateach

17 July 2009 at 11:09am Forum Moderator, 227 Posts

Can you explain further what you mean by "it returned to me as the callback failed. "?

Avatar
RW

17 July 2009 at 12:38pm Community Member, 6 Posts

Update status:
A test shopper can be redirected to Worldpay server and complete the payment. I set up the www.yoursite.com/WorldpayPayment_Handler/paid/ as the callback URL in Worldpay, then the problem is callback doesn't seems working at all, it doesn't update the shopper's payment status and won't redirect the shopper back my site.

Does anyone have the similar problem? Or can anyone write a short instruction here about how to make the callback working?

Thank you.

Avatar
where_is_will

11 September 2010 at 11:51pm Community Member, 2 Posts

Hi,

I know this post was a year ago, but did you get this resolved? I am having the same issue - I've hardcoded the test status into WorldpayPayment.php and the test payments are fine, but at the end of the process nothing happens on the worldpay site to redirect back or update the order status. I have added http://thesitename.com/WorldpayPayment_Handler/paid/ as the callback and set the password up, but nothing.

Any ideas would be great. Thanks.

Will

Avatar
where_is_will

28 September 2010 at 6:39am (Last edited: 28 September 2010 6:44am), Community Member, 2 Posts

Hi Guys,

Still working on this! I understand now that the site shouldn't redirect back - that makes sense. But the call back is not working either, as no status is updated. The error from Worldpay is: Error reported: Callback to: http://www.thesitename.com/worldpay/paid/: failed CAUSED BY invalid HTTP status line: >null<.

Any ideas on that?

Thanks,

Will