Post by ianhaney50 » Mon Jul 01, 2024 12:32 am

I am trying to use the worldpay business gateway extension and I have added the settings in on the worldpay business gateway settings on opencart admin side and made the payment response url and shopper redirect url the same urls as they are in the settings on opencart admin side and payment response enabled is checked and shopper response is enabled.

I do a test payment and it displays the success page on worldpay website but does not redirect back to the opencart website displaying the thank you for your order success page.

I am using opencart 2.3.0.2, has anyone had this before or know how to solve it please?
Last edited by ianhaney50 on Tue Jul 02, 2024 1:12 am, edited 1 time in total.

Active Member

Posts

Joined
Fri Apr 29, 2016 4:21 am

Post by johnp » Mon Jul 01, 2024 1:20 am

ianhaney50 wrote:
Mon Jul 01, 2024 12:32 am
I am trying to use the worldpay business gateway extension and I have added the settings in on the worldpay business gateway settings on opencart admin side and made the payment response url and shopper redirect url the same urls as they are in the settings on opencart admin side and payment response enabled is checked and shopper response is enabled.

I do a test payment and it displays the success page on worldpay website but does not redirect back to the opencart website displaying the thank you for your order success page.

I am using opencart 2.3.0.2, has anyone had this before or know how to solve it please?
Have you set the return URL on the Worldpay side?

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by ianhaney50 » Mon Jul 01, 2024 1:27 am

johnp wrote:
Mon Jul 01, 2024 1:20 am
ianhaney50 wrote:
Mon Jul 01, 2024 12:32 am
I am trying to use the worldpay business gateway extension and I have added the settings in on the worldpay business gateway settings on opencart admin side and made the payment response url and shopper redirect url the same urls as they are in the settings on opencart admin side and payment response enabled is checked and shopper response is enabled.

I do a test payment and it displays the success page on worldpay website but does not redirect back to the opencart website displaying the thank you for your order success page.

I am using opencart 2.3.0.2, has anyone had this before or know how to solve it please?
Have you set the return URL on the Worldpay side?
Yeah I set the payment response url and shopper redirect url on the worldpay side

Active Member

Posts

Joined
Fri Apr 29, 2016 4:21 am

Post by johnp » Mon Jul 01, 2024 1:27 am

Check any log files Worldpay have. Make sure the response URL is 100% accurate and it matches your site settings in the config file.

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by ianhaney50 » Mon Jul 01, 2024 1:46 am

johnp wrote:
Mon Jul 01, 2024 1:27 am
Check any log files Worldpay have. Make sure the response URL is 100% accurate and it matches your site settings in the config file.
I can't find any log files anywhere for worldpay.

The payment response url is the same and matches the settings in both worldpay on admin side and within worldpay itself

Active Member

Posts

Joined
Fri Apr 29, 2016 4:21 am

Post by johnp » Mon Jul 01, 2024 1:48 am

ianhaney50 wrote:
Mon Jul 01, 2024 1:46 am
johnp wrote:
Mon Jul 01, 2024 1:27 am
Check any log files Worldpay have. Make sure the response URL is 100% accurate and it matches your site settings in the config file.
I can't find any log files anywhere for worldpay.

The payment response url is the same and matches the settings in both worldpay on admin side and within worldpay itself
I would ask Worldpay support.

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by ianhaney50 » Mon Jul 01, 2024 1:58 am

johnp wrote:
Mon Jul 01, 2024 1:48 am
ianhaney50 wrote:
Mon Jul 01, 2024 1:46 am
johnp wrote:
Mon Jul 01, 2024 1:27 am
Check any log files Worldpay have. Make sure the response URL is 100% accurate and it matches your site settings in the config file.
I can't find any log files anywhere for worldpay.

The payment response url is the same and matches the settings in both worldpay on admin side and within worldpay itself
I would ask Worldpay support.
That's what I just started thinking, I'll have to contact them tomorrow morning.

Thank you for the replies though, appreciate it

Active Member

Posts

Joined
Fri Apr 29, 2016 4:21 am

Post by johnp » Mon Jul 01, 2024 2:20 am

No probs. It should be fixable. :)

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by ianhaney50 » Mon Jul 01, 2024 2:32 am

johnp wrote:
Mon Jul 01, 2024 2:20 am
No probs. It should be fixable. :)
Hopefully

I was thinking if should get this extension https://www.opencart.com/index.php?rout ... n_id=28917 as it might have newer updated code for opencart 2.3.0.2 and php versions as the one I installed was from 2017 and might have outdated code now and that original extension is no longer available on the opencart marketplace but I managed to download it from my opencart account in the downloads page.

I have just looked at the clients cPanel and the php version is running on 5.6. Could that explain why it's not redirecting back to the order success page on the opencart website?

I would be worried though if I updated the php version to 7.2 or something that the opencart website may not work if the theme or extensions are not able to work on 7.2. I know opencatr 2.3.0.2 will work on 7.2 or something as have it running on that version on another website

Active Member

Posts

Joined
Fri Apr 29, 2016 4:21 am

Post by IP_CAM » Mon Jul 01, 2024 3:39 am

Just to have it mentioned, famous OC Coder Condor2 has an updated OC v.2.3.0.x Version available, in case you're looking for something like this:
https://github.com/IP-CAM/Opencart-v.2. ... .1-8.2-8.3

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by johnp » Mon Jul 01, 2024 4:36 am

IP_CAM wrote:
Mon Jul 01, 2024 3:39 am
Just to have it mentioned, famous OC Coder Condor2 has an updated OC v.2.3.0.x Version available, in case you're looking for something like this:
https://github.com/IP-CAM/Opencart-v.2. ... .1-8.2-8.3
+1 for Condor2's version. :)

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by ianhaney50 » Mon Jul 01, 2024 6:29 am

Good news, got it working. It was because the website was in maintenance mode and the API callback could not be called or something and redirect back to the website, I took the website out of maintenance mode and the payment went through all ok and redirected back to the website

Active Member

Posts

Joined
Fri Apr 29, 2016 4:21 am

Post by johnp » Mon Jul 01, 2024 7:44 am

ianhaney50 wrote:
Mon Jul 01, 2024 6:29 am
Good news, got it working. It was because the website was in maintenance mode and the API callback could not be called or something and redirect back to the website, I took the website out of maintenance mode and the payment went through all ok and redirected back to the website
Well done. :)

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by ianhaney50 » Mon Jul 01, 2024 3:57 pm

johnp wrote:
Mon Jul 01, 2024 7:44 am
ianhaney50 wrote:
Mon Jul 01, 2024 6:29 am
Good news, got it working. It was because the website was in maintenance mode and the API callback could not be called or something and redirect back to the website, I took the website out of maintenance mode and the payment went through all ok and redirected back to the website
Well done. :)

Thank you, what a headache, I didn't think the website being in maintenance mode would prevent the redirection back to the order success page from worldpay after successful payment. Learn something new everyday.

Active Member

Posts

Joined
Fri Apr 29, 2016 4:21 am

Post by paulfeakins » Mon Jul 01, 2024 6:28 pm

ianhaney50 wrote:
Mon Jul 01, 2024 6:29 am
Good news, got it working. It was because the website was in maintenance mode and the API callback could not be called or something and redirect back to the website, I took the website out of maintenance mode and the payment went through all ok and redirected back to the website
Well done for updating this topic with the answer. Now please add [SOLVED] to the start of the title.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by ianhaney50 » Tue Jul 02, 2024 1:13 am

paulfeakins wrote:
Mon Jul 01, 2024 6:28 pm
ianhaney50 wrote:
Mon Jul 01, 2024 6:29 am
Good news, got it working. It was because the website was in maintenance mode and the API callback could not be called or something and redirect back to the website, I took the website out of maintenance mode and the payment went through all ok and redirected back to the website
Well done for updating this topic with the answer. Now please add [SOLVED] to the start of the title.
No worries all done

Active Member

Posts

Joined
Fri Apr 29, 2016 4:21 am
Who is online

Users browsing this forum: No registered users and 33 guests