Why is my checkout button not responding on both mobile, incognito, and desktop?

Solved

Why is my checkout button not responding on both mobile, incognito, and desktop?

PrimaryAirsoft
Tourist
4 0 1

I got a report from a customer that our checkout was not working so I looked into it and the checkout button is not responding at all when I click on it and I've tried clearing my cache and cookies as well as incognito but nothing is working. How do I solve this?

Accepted Solution (1)
nardoayala
Shopify Partner
28 6 9

This is an accepted solution.

It seems to be hosted at https://preorder-now.herokuapp.com/widget/javascript?shop=primary-airsoft.myshopify.com
chrome_0uho5pwHFH.png

It's probably being added in "theme.liquid", look for that URL in your codebase and you might find it somewhere. If you can't find the import in your code, then it might be an app that's adding that in which case you'll need to either remove the app or contact the app's support team.

I would just remove it as it's currently blocking checkouts, but it will need to be fixed at some point as it seems to be what powers the 'pre-order' feature.

View solution in original post

Replies 7 (7)

nardoayala
Shopify Partner
28 6 9

Hi 🙂

Could you please share your store URL and some steps to replicate the issue?

PrimaryAirsoft
Tourist
4 0 1
nardoayala
Shopify Partner
28 6 9

You have a JavaScript error that's preventing the button from working:

chrome_9J1oVccAYM.png

I have no way to know what that piece of code does or why is failing, you'll need to contact the devs who implemented it. It seems like a function that checks the stock before you can checkout.

PrimaryAirsoft
Tourist
4 0 1

Do you happen to know where the code is at and where I can find it?

nardoayala
Shopify Partner
28 6 9

This is an accepted solution.

It seems to be hosted at https://preorder-now.herokuapp.com/widget/javascript?shop=primary-airsoft.myshopify.com
chrome_0uho5pwHFH.png

It's probably being added in "theme.liquid", look for that URL in your codebase and you might find it somewhere. If you can't find the import in your code, then it might be an app that's adding that in which case you'll need to either remove the app or contact the app's support team.

I would just remove it as it's currently blocking checkouts, but it will need to be fixed at some point as it seems to be what powers the 'pre-order' feature.

PrimaryAirsoft
Tourist
4 0 1

Great thank you it is working now.

HANNAHREESE2021
Visitor
1 0 0

Hello, I am having the exact same issue now with 3 different customers, all using the credit/debit card payment method. They input their card info correctly and press ‘pay now’ but it never completes their purchase. 

how can this get fixed so I don’t continue to lose sales?