Worldpay Redirect

Open to all! Ask other shopowners for help.
Post Reply
cbs
Member
Posts: 46
Joined: Tue Oct 26, 2021 9:42 am
Phoenix Version: v1.1.0.6
Has thanked: 8 times
Been thanked: 6 times

Worldpay Redirect

Post 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


Join The Code Co-op to get access to your library in the Code Co-op Forum
BrockleyJohn
Certified Developer
Posts: 173
Joined: Mon Mar 01, 2021 5:37 pm
Phoenix Version:
Has thanked: 2 times
Been thanked: 30 times

Re: Worldpay Redirect

Post 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.
cbs
Member
Posts: 46
Joined: Tue Oct 26, 2021 9:42 am
Phoenix Version: v1.1.0.6
Has thanked: 8 times
Been thanked: 6 times

Re: Worldpay Redirect

Post 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
BatteryTrader
Contributor
Posts: 153
Joined: Thu Apr 11, 2024 7:18 am
Phoenix Version: 1.1.0.3
Has thanked: 3 times
Been thanked: 17 times

Re: Worldpay Redirect

Post 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
cbs
Member
Posts: 46
Joined: Tue Oct 26, 2021 9:42 am
Phoenix Version: v1.1.0.6
Has thanked: 8 times
Been thanked: 6 times

Re: Worldpay Redirect

Post by cbs »

I've checked server logs and there is nothing WorldPay related in it. Is there a specific location for a WorldPay log?
BatteryTrader
Contributor
Posts: 153
Joined: Thu Apr 11, 2024 7:18 am
Phoenix Version: 1.1.0.3
Has thanked: 3 times
Been thanked: 17 times

Re: Worldpay Redirect

Post 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
cbs
Member
Posts: 46
Joined: Tue Oct 26, 2021 9:42 am
Phoenix Version: v1.1.0.6
Has thanked: 8 times
Been thanked: 6 times

Re: Worldpay Redirect

Post 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.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply