-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
wip(core-flows, types): try payment cancelation if cart complete fails in the webhook #11832
base: develop
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
7 Skipped Deployments
|
|
payment_id: paymentData.data?.[0]?.id, | ||
}, | ||
}) | ||
.config({ |
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.
comment: should we allow this to throw now since it is a last step
) | ||
|
||
try { | ||
await paymentModule.cancelPayment(payment.id) |
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.
for this step specifically, does it make sense to check the status and either cancel or refund?
What
processPayment
workflow