We've got a bit of an issue with our site that's completely flummoxed me.
Whenever a user is checking out on our site using a mobile device with a discount code, the checkout will loop and will never send the user to PayPal or Worldpay.
The loop occurs when the customer presses "pay now" (when they'd be sent to Worldpay or PayPal)
No error messages pop up, it just cycles around forever.
We don't have access to our checkout.liquid, so nothing will have changed from this aspect.
If the customer removes the discount code, it works fine. On another note, even automatic discounts won't allow anyone to check out.
Bear in mind, this is MOBILE ONLY. on desktop view, it's fine?!
Please can someone help as this is a big issue.
I've just been on live chat with Shopify.
The issue pertains to when a customer using a mobile phone has selected local pickup as a delivery option and uses a discount code.
When the discount is removed, the customer can complete their order.
They've raised this with their technical team - is that the issue you have?
Same here. Here’s what we’ve observed:
This is a combination of selecting Local Pickup and using a discount code and seems to have everything to do with when the discount code is added. As long as you add the discount code first everything will work fine.
Mobile or desktop is irrelevant. This issue happens on both. The reason this seems to only happen on mobile is because there you are more likely to add the discount code on the payment screen. But you can definitely run into this on desktop as well.
This is the first checkout page on mobile - contact information (sorry for the Icelandic translation):
You can see there is no option visible to add the discount code.
This is desktop:
You see the discount code input field and the user is more likely to start by adding the discount code.
And here is the mobile payment checkout page after selecting Local Pickup:
You can see the discount input field is visible there.
Now so if you get here and you add the discount code you will end up in the error loop. But if you were now to go back to the contact info page and continue again to the payment page and continue, it will work.
You can also run into this error below on the contact information page if you first select Local Pickup and then add the discount code.
So to reproduce the issue:
To successfully checkout with discount code (seperate for mobile and desktop to make it clearer)
So what I suggest you tell your customers or clients is a) try to add the discount code first or b) if they are already stuck, go back to the contact information page and continue again and then everything should work fine.
Hope this helps