Finalize order button keeps loading infinitely

Hi,

My store (elderbrain.com) has an issue with a zero cost product: https://elderbrain.com/collections/crown-of-the-oathbreaker-5e-dnd-adventure/products/crown-of-the-oathbreaker-chapter-1-sample-pdf

The finalize order button gets stuck (spins and loads infinitely). It is probably a cache / cookie problem as clearing cache or using an incognito browser eliminates the issue. It also seems to work from mobile. I receive lots of complaints from users and no one was able to resolve the issue so far.

First we thought it was the “location” set by the app of the fulfillment companiy but we changed it and it still had the issue. Is it the theme, the digital product manager app (Uplinky), or something else?

This is a screenshot of the bug:

i would greatly appreciate any help with this.

Thanks in advance!

Hello @gaborg

This is probably a state bug with the code showing the loading animation. If you would like me to hunt and fix the bug for your theme, please message me.

-David

Hey David,

I think our devs were able to narrow it down to the bug being caused by Express Checkout and Gpay not answering.

I don’t think this could be resolved from outside Shopify, but I’m not sure. There are suggestions all over the web to hide Express Checkout but I think that will resolve the timeout issue for the 404.

We are in touch with Shopify support and waiting for their response.

Do you have any other ideas, suggestions now that you see what the problem actually is?

Hello, @gaborg

If it works properly on mobile, and when the cache is cleared, and the bug is narrowed to an ajax 404 error of some type, then my first goto would be to connect a mobile device to a debugger and see which code is run.

On some themes there is functional plurarity where for optimization purposes the code for the same function is essentially separate for mobile, or desktop ect.

Some developers write their code as though it’s system code and then transpile it to javascript. It’s easy to develop that way, but fixing transpiled code can be a pain. Luckily most shopify js is not obfuscated, and they’re kind enough to give minified(compressed) and uncompressed code.

Good luck. If however the problem persists, it would be best to reach out to the theme or add-on developers.