We have an issue for all customers where the Shopify basket is not being cleared after payment completion using Worldpay (Offsite) payments. I am aware of at least one more Shopify site that has the same issue I shall describe fully below.
Worldpay (Offsite) payment gateway has been configured as per the available Shopify documentation as below.
The customer is sent to the Worldpay payment page, the payment completes, the order is marked as paid on Shopify and the customer is notified of both payment by Worldpay and order confirmation by Shopify.
However the issues are
- The customer is not returned to Shopify from the Worldpay payment screen to Shopify confirmation
- More seriously, when the customer returns to Shopify the products remain in the cart which could confuse them and attempt payment again.
We have queried this with WorldPay support who state this is a Shopify integration. To resolve the issue we tried to
- In WorldPay Add as the redirect URL in addition to the payment response URL as stated in the setup guide.
- Under WorldPay support instructions edited resultsC.htm and resultsY.htm to add the store homepage address which returned the customer to the store but products remain in the basket
We need to know why this is happening and how this can be resolved.
The Shopify instructions are as below for info.
About WorldPay (Offsite)
In order to use WorldPay you must manually log into your WorldPay Merchant Interface and set up the following:
- Select Installations from the left hand navigation
Choose an installation and select the Integration Setup button for either the TEST or PRODUCTION environment - Check the Enable Payment Response checkbox
- Enter the following into the Payment Response URL input field:
- Click the Save Changes button