You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of @shopify/checkout-sheet-kit are you using?
3.2.0 - Multiple Devices
Do you have reproducible example code?
Yes, though it is not consistently reproducible.
// Function to regenerate the checkout URLconstcart=awaitcartBuyerIdentityUpdateLite({
customerAccessToken,
email,
phone
});constcheckoutUrl=cart?.cart?.checkoutUrl;returnshopifyCheckout.presentCheckout(checkoutUrl);
// Helper to update buyer identity and get new checkout URLexportasyncfunctioncartBuyerIdentityUpdateLite(input: {customerAccessToken: string;email?: string;phone?: string;}){constcurrentCart=appStorage()?.currentCart??{};if(currentCart.id&&input.customerAccessToken){constvariables: CartBuyerIdentityUpdateMutationVariables={lite: true,cartId: currentCart.id,buyerIdentity: {customerAccessToken: input.customerAccessToken,
...(input.email&&{email: input.email}),
...(input.phone&&{phone: input.phone}),},};constresult=awaitrunTanstackQueryMutation<CartBuyerIdentityUpdateMutation,CartBuyerIdentityUpdateMutationVariables>(CartBuyerIdentityUpdateDocument,variables,useCartBuyerIdentityUpdateMutation.getKey());return{cart: result?.cartBuyerIdentityUpdate?.cart};}}
What area is the issue related to?
Checkout Sheet Kit
What platform does the issue affect?
All platforms
What version of
@shopify/checkout-sheet-kitare you using?3.2.0 - Multiple Devices
Do you have reproducible example code?
Yes, though it is not consistently reproducible.
Steps to Reproduce
Expected Behavior
Checkout presented via Sheet Kit should respect the buyer identity, and the user should remain logged in within the checkout session.
Actual Behavior
Sporadically (and only in production builds), the Sheet Kit presents a checkout screen that:
Storefront domain
https://rforrabbit1.myshopify.com
Screenshots/Videos/Log output
rec.mov