We have integrated Shopify’s headless e-commerce using its storefront graphQL APIs. When a user purchases any product on our site, we update that info to Shopify. When the user clicks the checkout button on our site, we redirect the user to Shopify’s checkout page using a multipass token and end-point. Redirection works fine and the user can submit card details and able to complete the purchase.
So far everything works fine but when the user comes back to our site without purchase and again tries to go to Shopify’s checkout page, the cart is getting cleared/empty on Shopify’s end. Looks like multipass authentication is affecting the cart and it only works for the very first time.
One thing I observed it, on Shopify’s checkout page some cookies are getting created and if I delete the cart cookie manually before the user visits the checkout page, the cart is not getting empty. Not able to find any docs or issues related to this. Can anyone please help me with this?