feat(medusa): remove created reservations on subsequent failure for cart completion (#3554)

**What**
- If cart completion fails after creating reservations, remove those reservations

**Why**
- To avoid hanging reservations if something fails at a later point
This commit is contained in:
Philip Korsholm
2023-03-29 19:03:53 +02:00
committed by GitHub
parent a7e3f2d343
commit 5fd74b38ae
7 changed files with 160 additions and 43 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/medusa": minor
---
feat(medusa): remove reservations if cart completion fails after reservation creation