fix(core-flows): refresh payment collection inside updateCartPromotionsWorkflow (#13963)

* Refresh payment collection after cart promotion update

* Add missing test

* Add changeset

* Update changeset

* Add force_refresh_payment_collection to updateCartPromotionsWorkflow to conditionally refresh payment collection

* Prevent refreshing payment collection multiple times

* Fix test

* Formatting and unused vars

---------

Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com>
This commit is contained in:
Nicolas GorgaandAdrien de Peretti authored and GitHub committed 2025-12-05 15:27:21 -03:00
1 parent 144f0f4e2e
commit 842c0f5007
5 files changed
+88

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/core-flows": patch
---
fix(core-flows): refresh payment collection inside updateCartPromotionsWorkflow