Use checkout.error to run actions when an error occurs on a checkout. Errors occur when data passed to Paddle.js prevents Paddle from opening a checkout entirely.
For example, if you pass properties to Paddle.js that are fundamentally incompatible, you can use checkout.error to log the error to your analytics tool. You may be able to parse the error to relaunch the checkout with the correct data.
If data passed to Paddle.js is invalid but doesn't prevent Paddle from opening a checkout, a checkout.warning event is emitted instead.
entity.event_type.front-end_errorTypically means there's a problem with Paddle.js or your integration.api_errorTypically means there's a problem with the Paddle API.
{ "name": "checkout.error", "type": "api_error", "code": "validation", "detail": "Invalid request.", "documentation_url": "https://developer.paddle.com/api-reference"}