feat(core-flows, types): try payment cancelation if cart complete fails in the webhook (#11832)

* fix: try compensating if cart complete fails, reorder process paymnet workflow steps

* fix: condition

* fix: feedback

* feat: changes to the compensation step

* fix: build

* fix: remove payment id as arg

* fix: when input

* chore: remove captures realtion, changeset

* fix: return lates payment object from authorize payment
This commit is contained in:
Frane Polić
2025-03-28 14:49:54 +01:00
committed by GitHub
parent 3dba58785f
commit 95e89a39f3
6 changed files with 130 additions and 23 deletions
+6
View File
@@ -0,0 +1,6 @@
---
"@medusajs/core-flows": patch
"@medusajs/types": patch
---
fix(core-flows): cancel/refund payment on cart complete error