Accepting credit cards, warehouses, and shipping and fulfilling orders
Hello,
I am reaching out as I have a javascript code in the additional script of the order status page.
The script has been working perfectly until recently, when I noticed that for some customers, the script was not run.
Upon investigation, I noticed that the customers, after completing the checkout, selecting a manual payment method and clicking on the pay button, could be redirected to two different urls:
- First URL format: https://shop.com/581879/orders/c1c620d00059c7cf26a1f53d44bc
=> In this case, the script runs perfectly
- Second URL format: https://shop.com/checkouts/c/bf8219d07a38548c82782050/thank_you
=> In this case, the script does not run
=> This seems to be a temporary "checkout" page, as when I refresh the page, I am redirected to an URL with the first URL format and the script runs perfectly
This seems to happen randomly.
Does anyone know what is happening?
Can I force the url to be of the first format to ensure the script will run every time?
Thank you very much!
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024