Liquid, JavaScript, themes, sales channels
Hi,
I’m trying to edit the order at the order status page to add a product with a discount (upsell). I see existing apps calling their server (for editing orders from their server to Shopify's) and then redirecting to the checkout confirmation page for customers to confirm the payment to finalize the edited order.
I see below the URL format that the apps are redirecting to (which then directs to the actual order confirmation page)
https://shopdomain/{shop_Id}/order_payment/{order_id}?secret={idontknow}
Obviously, I have the shopId and the orderId from javascript. But how can we get the secret? I see this secret is changing per order so it must be something to query Shopify API from the server. I see no mention of this parameter in any of the docs. Any help or a clue is very much appreciated.
Thank you in advance!
Sravan
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023