Webhook: checkout.abandoned
The checkout.abandoned
event is sent when a checkout is abandoned. A checkout is considered abandoned if it has not been completed 45 minutes after it was initially created.
The expiresAt
field indicates when the checkout expires. If the checkout is expired, no action is necessary.
If the checkout is not expired, the redirectUrl
should be used to send a notification to the user, redirecting the user back to the original checkout page so they can complete the order.
Example
{
"id": "d20f0f08-694d-4798-9faf-fccd5b61ed39",
"type": "checkout.abandoned",
"version": 1,
"isSandbox": true,
"data": {
"redirectUrl": "https://checkout.neonpay.com/checkout/2f0e9424-8166-4dd2-a5e4-d109ea3e40c5",
"checkout": {
"id": "2f0e9424-8166-4dd2-a5e4-d109ea3e40c5",
"expiresAt": "2023-12-09T00:00:00.000Z",
"items": [
{
"sku": "qty2-sku",
"name": "Iron Shield",
"price": 199,
"quantity": 1
}
],
},
},
}
Updated 2 days ago