-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(core-flows,types): Refunds can only be performed when order is imbalanced #8944
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
5 Skipped Deployments
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM, should be good to merge, but would be good to have @carlos-r-l-rodrigues eyes on it as well
packages/core/core-flows/src/payment/workflows/refund-payment.ts
Outdated
Show resolved
Hide resolved
packages/core/core-flows/src/payment/workflows/refund-payment.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
d7117be
to
886a006
Compare
what:
Due to the fact that any adhoc refunds cause an imbalance in the order totals, we constrain the refunds to only be performed when there is an outstanding balance in the order
RESOLVES CC-412