chore: Ensure refund doesn't exceed captured amount (#13744)

* wip

* chore: prepare for PR

* move to end

* Change order of operations in refundPaymentWorkflow

Updated the order of operations in the refundPaymentWorkflow.

* chore: Add validation
This commit is contained in:
Oli Juhl
2025-10-13 22:09:46 +02:00
committed by GitHub
parent 723dc082f0
commit 1d2b4566fd
5 changed files with 195 additions and 38 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/core-flows": patch
---
chore: Change order of operations in refundPaymentWorkflow