Development discussions around Shopify APIs
Hi,
We are building a post-purchase extension for our app.
At the moment, we have a script tag that run in the confirmation page. What we would like to do is to update this script to have different logic if it is coming from the post-purchase page compared to directly coming from the payment page. Is there a official way to do that (e.g. detect if post-purchase extension run prior to confirmation page)?
PS: I have been looking at Shopify.checkout object. However, I don't seem to find anything in there to help with the detection.
User | RANK |
---|---|
56 | |
11 | |
5 | |
5 | |
5 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023