The checkoutUrl received is then opened in a window and abandoned after 5-10 secs after loading but Abandoned checkout is not created. Why is that? This was working till Monday
Is the buyer identity email being picked up? You’re passing email in buyerIdentity on the cartCreate mutation. Previously this may have been enough to pre-fill the checkout and trigger an abandoned checkout, but behavior around this can change.
The abandoned checkout detection isn’t instant. There’s typically a delay (up to a few hours) before an abandoned checkout appears on the dashboard. Are you waiting long enough?
Note from the Cart API docs: The Storefront Cart API does not fire webhooks for cart/create or cart/update. Abandoned checkout creation depends on the checkout session itself, not the cart.
@Liam-Shopify We verified that the checkoutUrl generated via cartCreate is valid and loads correctly. All details like email, phone, and shipping address are prefilled on the checkout page.
A couple of clarifications from our side:
Is there any additional signal (beyond email/phone) that Shopify now requires to classify a session as an abandoned checkout?
We triggered multiple carts on Tuesday, but none of them have appeared in the Abandoned Checkouts section yet.
Our current flow is:
cartCreate mutation is triggered
checkoutUrl is retrieved
The URL is opened in a headless browser
We wait for the page to fully load and keep the session alive for ~10 seconds
Then the tab/session is closed
Given this, can you confirm if this approach is sufficient for Shopify to register a checkout as “started”?
Would appreciate any clarity on what exact events are required now for abandonment to be recorded.