In case of a failure, the checkout will send an error message via the interface callback:
Code | Message | Data |
---|
An unique integer representing the error | A detailed description and explanation of what happened | A raw JSON string (if available) that may contain additional details |
Error Code | Title | Description | Troubleshoot |
---|
1000 | HTTP_REQUEST | HTTP request error | Check your internet connection. |
1001 | HTTP_BOOT_REQUEST | HTTP boot request error | Verify your configurations. Ensure you have a valid publisher token and the correct environment set. |
1002 | HTTP_SESSION_REQUEST | HTTP session request error | The session model may contain invalid arguments, or the configuration options may be set to a different environment. |
1003 | HTTP_PRODUCTS_REQUEST | HTTP products request error | There was an error retrieving product price points. Ensure you have at least one price point configured. |
1004 | HTTP_CONSUME_REQUEST | HTTP consume request error | Check the internet connection and publisher token. Ensure that you have passed the correct orderId . |
1005 | HTTP_NON_CONSUME_REQUEST | HTTP none-consume request error | Check your internet connection. Verify your configurations. Ensure you have a valid publisher token and the correct environment set. |
1006 | HTTP_PRICE_POINTS_REQUEST | HTTP price points request error | Make sure at least one price point is configured. |
2000 | BOOT_INITIALIZATION | Failed to initialize checkout. Check configuration values | One or more configuration values are missing or incorrect. Verify the publisher token and the environment settings. |
3000 | PURCHASE_CANCELED | Purchase canceled | The purchase was canceled. The player may have closed or refreshed the checkout window. |
3001 | PURCHASE_ALREADY_CANCELED | Purchase already canceled | A purchase that was already canceled is being re-canceled. The checkout window may have been minimized, leading to automatic cancellation. |
3002 | PURCHASE_CLOSED_AND_CANCELED | Purchase closed and canceled | The player closed the checkout window, causing the purchase and session to be canceled. |
3003 | PURCHASE_FAILED | Purchase failed | Check logs or error event data for the reason behind the failure. |
9999 | UNKNOWN_ERROR | An unknown error occur | If the issue persists, contact support. |