issue 6 : fix payment-cancel-handling #16

Merged
amit merged 1 commits from fix/issue-6-payment-cancel-handling into main 2026-10-06 12:18:45 +00:00
Member
No description provided.
shivani added 1 commit 2026-10-05 07:14:59 +00:00
9847d773f2 fix(checkout): prevent payment completion on Razorpay modal cancel (#6)
- Add modal.confirm_close: true to prompt confirmation and abort in-flight payments when user clicks Cancel (X)
- Implement modal.ondismiss to track cancellation and reset checkout loading state
- Add isPaymentCancelled guard in Razorpay handler callback to prevent unintended payment verification after dismissal
- Handle loading state cleanup on payment.failed event
amit merged commit c2cc4202a7 into main 2026-10-06 12:18:45 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AcuPedia/acupedia-store-ui#16
No description provided.