Purchases are not coming through

Solved
New Member
3 0 0

Hi everyone! We recently launched our free app and started to get users pretty quickly.

 

We are now analyzing one interesting issue that we are hoping to solve with your help: some sites do not send us orders at all.

 

Our Shopify app integrates as a JS code snippet into the theme.liquid layout file and also into the order_status display scope using ShopifyAPI::ScriptTag class like so https://monosnap.com/direct/ZRnoJrALUIOS0O7QqkEa6j3NPnmPoA ← this is exactly the same script as we include into the theme.liquid layout. Here is our JS code snippet itself https://gist.github.com/iurevych/db861977962be1d4b8295c8de1be165f

 

Do you see any obvious issues with the script or the way we integrated this into the order status page that prevents 17 of our customers from sending us any orders?

 

Your help is greatly appreciated!

0 Likes
Shopify Staff
Shopify Staff
1556 77 232

Hey @iurevych.

 

While this falls outside of the scope of Shopify API support, from someone like myself, I welcome community input on the matter. At a glance though, it could be those users blocking JS on the browser level?

 

Cheers.

0 Likes
Highlighted
New Member
3 0 0

Thanks @Alex. I can confirm this is unrelated as we have some specific sites that don’t send any orders to us completely. While we are on the API thread: could you confirm that this code will execute in 100% cases only on the order confirmation page (post purchase)? https://monosnap.com/direct/ZRnoJrALUIOS0O7QqkEa6j3NPnmPoA

 

Thanks.

0 Likes

Success.

Shopify Staff
Shopify Staff
1556 77 232

I can confirm that this will execute only on the order status page if the client has javascript enabled, so claiming 100% might not be accurate. Any time it can, it will on that specific page.

 

Cheers.

0 Likes