Tag: Worldpay payment gateway redirection issue

Worldpay payment gateway redirection issue

Resolved – Worldpay payment gateway redirection issue

Worldpay is a global leader in payments processing technology and solutions for businesses. One of their key offerings is the payment gateway, which businesses integrate with their websites to enable online payments for customers. While building a solution for one of our UK clients, we encountered the Worldpay payment gateway redirection issue, that is, once the payment was completed, the user was not getting redirected to the website.

We searched high and low to resolve this, looked up all sorts of documents, but the solution evaded us. We even tried calling the Worldpay Support staff but couldn’t get much out of them. In the end, through endless trial and error we hit upon this solution. We hope this article saves you time and effort and helps you resolve the issue quickly.

Here are the steps to fix the Worldpay payment gateway redirection issue.

Note: This is for the Worldpay Business Manager users

Worldpay Business Manager Settings Change

  1. Log into Worldpay Business Manager and navigate to Setup > Installations
  2. Click the Settings button next to your domain in Test
  3. Ensure that the fields are filled as shown below

Worldpay payment gateway redirection issue

  1. Click Save Changes button

 

Copy resultC.html and resultY.html from CPanel to PC

  1. Login to CPanel of your domain (Siteground in my case)
  2. Navigate to File Manager > Webroot > Wp-content > plugins > business-worldpay-gateway-for-woocommerce > Payment pages > required
  3. Copy the resultC.html and resultY.html files to your PC

Worldpay payment gateway redirection issue

 

Add resultC.html and resultY.html in Worldpay Business Manager

  1. Next, log into Worldpay Business Manager and navigate to Setup > Installations > Edit Payment pages
  2. Under File menu, select File Management
  3. Upload the resultC.html and resultY.html files here

Worldpay payment gateway redirection issue

 

Try a test payment

  1. Now make a test payment in the website and check if it gets redirected

 

Copy settings to production

  1. Copy the same settings to Production in Worldpay Business Manager

The Worldpay Payment Gateway redirect issue is now resolved!

Close Bitnami banner
Bitnami