Our app aims to help end customers select a desired pickup address during the checkout process. The implementation is adding click event listener to the checkout button via script tag and appending some query params to the end of the checkout URL, so Shopify internally will parse these query params and auto fill the shipping address form fields.
For example
https://xxxxx.myshopify.com/checkout?checkout[shipping_address][address1]=testing address&checkout[shipping_address][address2]=[852A1003]&checkout[shipping_address][city]=Hong+Kong&checkout[shipping_address][country]=Hong+Kong&checkout[shipping_address][province]=New Territories&locale=en&step=contact_information
After redirecting the above URL, the redirected checkout page will auto fill the shipping address based on the query params.
In today, 2022-07-08 (UTC), I found this not working anymore if the checkout URL pattern look like this ,
https://xxxxx.myshopify.com/checkouts/do/4686b626c4d31486fdc6734646e8dbfb/information
We tried to modify above URL to below, but we found autofill shipping address not working
xxx - xxx Territories&locale=en&step=contact_information
Any way to make “checkouts/do” autofill shipping addresses?
If not, is it possible to always rollback using the below checkout URL? instead of using “checkouts/do” pattern.
https://xxxxxx.myshopify.com/62406459636/checkouts/e20f1b49c986abf175a5a805aa5e6fee
Thanks for all your guys help