For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
Hello,
During checkout, I need to redirect the customer to an external page where they choose their pickup point for the order and then get redirected back. The page gets the checkout token in the url query parameters, generated from the useCheckoutToken() hook in Extensions - However, I don't how to construct an URL using this token. Any help would be greatly appreciated. Thanks
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
The problem isn't adding a parameter to the URL. The problem is 1) what URL to use and 2) how to name the parameter which will pass the token.
But from what I observed, the usual approach seems to be a GraphQL api workaround.