Basket Persistence
Baskets are maintained by the Basket Service and stored in its database. Each basket action is stored in a journal database table and increases the basket version.
Baskets are deleted from the database by a cleanup job after a configurable time period. The time periods can be different for the following status values:
- Baskets in the OPEN or CREATED status - default: 2 days
- Finished baskets in the FINALIZATION_FINISHED and CANCELED status - default: 2 days
- Pending baskets in the CHECKOUT_STARTED, CHECKOUT_FINISHED status - default: 14 days
Baskets in the PAYMENT_FINISHED or FINALIZATION_STARTED status are not deleted at all because a failed finalization is automatically retried until the basket is finalized successfully.
Baskets in the PAYMENT_STARTED status are not deleted as this indicates a problem.