It is recommended you clear the customer's cart on an external ecommerce platform or site after you've processed their order with Recharge. This avoids any confusion the customer would experience if they returned to the storefront to see the items they just purchased are still in the cart.
Listen for the
checkout/processed webhook which confirms an order is successfully processed.
checkout/processed payload contains the cart
id. Match this ID with the ecommerce platform's cart ID and make the API calls necessary to clear the cart.
Updated 3 days ago