Guest Checkout Recovery
NewHandle cart recovery when you don't have the customer's email at cart time. Common in guest checkout flows.
The Challenge
Many e-commerce sites allow guest checkout where the email is only captured at the final payment step. If the user abandons before that point, we don't have their email to send recovery messages. This recipe shows two solutions.
Solution 1. Webhook-Based Recovery
Track cart without email, then use webhooks to look up the email from your database when the cart is marked as abandoned.
Step 1: Track cart without email
Step 2: Handle the abandoned webhook
Configure Webhook URL
Go to your Retake Dashboard → Settings → Webhooks and add your webhook endpoint URL.
Solution 2. Early Email Capture
Change your checkout flow to capture email first, before payment details. This is actually a UX best practice used by Amazon, Shopify, and most modern checkouts.
Better for recovery
Retake can send recovery emails automatically without webhooks.
Better for UX
Users can save their progress and complete checkout later.
Which Solution Should I Use?
| Criteria | Webhook Approach | Early Email Capture |
|---|---|---|
| Implementation effort | More complex | Simpler |
| Requires code changes | Backend only | Frontend + Backend |
| Relies on existing user data | Yes | No |
| Best for | Sites with existing session-to-email mapping | New builds or checkout redesigns |