Page 1 of 1
Worldpay Redirect
Posted: Thu Jul 31, 2025 9:20 am
by cbs
Hi,
We have been using WorldPay for our payment gateway for a long time and it has been working okay. A few days ago the auto redirect from WorldPay stopped, we haven't changed anything. It is still taking payments but it doesn't redirect back and mark it as paid in Phoenix. Has anyone got any idea what could of happened? Our hosting company did have an issue a few days ago but I don't think it has anything to do with that.
The addon say it is API Version: 4.6.
PHP Version 7.4.33
Phoenix v1.0.8.20
Thanks
Re: Worldpay Redirect
Posted: Fri Aug 01, 2025 3:16 pm
by BrockleyJohn
Are you sure that it doesn't redirect back, or is that assumed because the orders aren't completing?
If I recall correctly, for the Worldpay hosted integration you have to set the return url in your merchant settings in Worldpay - check that hasn't got lost and that the response is switched on.
Check also that your two passwords match (response/callback password and md5 hash)
If the former isn't set you won't come back to the site at all, if the latter two aren't ok you'll come back to the return url and stop dead.
If you've got "preparing" orders for all the payments, it's probably something along those lines.
If you're not sure exactly what's happening, try a small order and test it.
Re: Worldpay Redirect
Posted: Tue Aug 05, 2025 8:18 am
by cbs
I've tested it, you get to the page where is say payment complete then nothing happens. Found the old help file online and all the setting look correct.
Will check that the two passwords match, as far as I know they haven't been changed but it's worth a try.
The Payment Response URL is <WPDISPLAY ITEM=MC_callback>
Thank you
Re: Worldpay Redirect
Posted: Tue Aug 05, 2025 4:10 pm
by BatteryTrader
You might want to check that the return, which will be made through a IP, has access to your webpage.
perhaps make a test order and straight afterwards check server logs, if on something like cloudflare then create a rule to allow worldpays ip's through, i would think they are published somewhere.
regards
Re: Worldpay Redirect
Posted: Wed Aug 06, 2025 8:03 am
by cbs
I've checked server logs and there is nothing WorldPay related in it. Is there a specific location for a WorldPay log?
Re: Worldpay Redirect
Posted: Wed Aug 06, 2025 8:21 am
by BatteryTrader
No, what I mean is the bank will visit your website page, cant remember which one but it will be in your module, and on worldpay as the return address, if your server has blocked the ip it will not reach to complete.
Looks like there is a list here of ips that Worldpay use, read the page and if happy whitelist them.
https://developer.worldpay.com/products ... s/webhooks
Please note: I am not a developer in any way shape or size, just a busy shopwner, and I have had the same issue in the past.
Regards
Re: Worldpay Redirect
Posted: Fri Aug 08, 2025 12:50 pm
by cbs
Thank you for the link and information
Turns out after some back and forth with WorldPay it was an issue on there side.