- Customer details: Phone number, email address, or both
- Address details: Pincode, state, and other information. The address is included only if the customer submits the complete address.
- Cart details: Always included
- OCC URL: Link to the merchant’s Shopify store with the OCC page preloaded
Note: Cashfree doesn’t send abandoned checkouts to Shopify if a login is required in the native checkout settings.
Adding a webhook endpoint
To start receiving abandoned cart webhooks from Cashfree One Click Checkout (OCC), follow these steps:- Sign in to the Merchant Dashboard using your credentials.
- Go to Payment Gateway > Developers > Webhooks > Configuration > Payment Gateway tab.
- On the Webhooks page, click Add Webhook Endpoints.
-
In the Endpoint Details section:
- Enter the endpoint URL where you want to receive webhook data.
- Click Test to verify the URL.
- From the drop-down menu, select Webhook Version: 2025-01-01.
- Click Continue.
-
In the Add Policy section:
- Choose a retry policy. The default policy includes 3 retries.
- Select the relevant events to subscribe to.
- Optionally, add another retry policy if needed.
- Click Continue.
-
In the Summary section:
- Review the configuration.
- Click Update Secret Key, then click Update in the confirmation pop-up.
- Click Save.
Sample webhook event payload
Below is a sample webhook event payload for an abandoned cart.Note: Use the signature to verify that the request has not been tampered with. To verify the signature, use your merchant secret key along with the payload.