-
-
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(dashboard,core-flows,js-sdk,types): ability to mark payment as paid #8679
Conversation
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
6 Skipped Deployments
|
|
packages/core/core-flows/src/order/workflows/mark-payment-collection-as-paid.ts
Outdated
Show resolved
Hide resolved
021d9b3
to
97ad6f9
Compare
You can only mark system payments as paid, correct? |
@olivermrbl yes, thats correct. Did I miss something? |
@@ -104,10 +110,54 @@ export const OrderSummarySection = ({ order }: OrderSummarySectionProps) => { | |||
(pc) => pc.status === "not_paid" |
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.
question: Can we rely on this check? couldn't there be multiple unpaid collections?
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.
There's no way to get in this situation through the UI as of yet. So not possible right now. But when we link the payment collection to the order change, we can get rid of this check
No no, I am just trying to wrap my head around how this will work with other payment collections on the order 😄 |
what:
markaspaid.mp4