chore(core-flows): throw error on invalid promo code (#13140)

* chore(core-flows): throw error on invalid promo code

* add changelog

* better error handling in test

---------

Co-authored-by: william bouchard <williambouchard@williams-MacBook-Pro.local>
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
This commit is contained in:
William Bouchard
2025-08-05 09:01:41 -04:00
committed by GitHub
parent ee0b873f82
commit acf6bbc2ec
3 changed files with 57 additions and 11 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/core-flows": minor
---
chore(code-flows): throw error on invalid promo code