My client's live Shopify setup has a feature where a URL goes to a sort of "quick checkout" that allows a customer to quickly purchase a single item. The way it works is, you first visit a URL like this:
https://site1.com/cart/xxxxxxxxxxx:y
and then you are immediately redirected to a URL like this:
https://www.site2.us/aaaaaaaa/checkouts/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
And then on that second URL you can fill out the checkout form to purchase a single item that is displayed there. Notice that the two URLs use a different domain name. The x's are numbers, the y is a number. The a's are numbers and the b's are hexadecimal digits(0-9, a-f).
Is this a common/documented URL flow for a Shopify single item checkout setup?
What I need to do is add a value to the first URL so that it carries through to the second URL, eg:
https://site1.com/cart/xxxxxxxxxxx:y/extra-val-here
https://www.site2.us/aaaaaaaa/checkouts/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/extra-val-here
And then if the second URL has the extra value I need to do something extra in the code.