You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using razorpay standard web integration. In this we have to create an order but I see that there is no api to cancel an order.
Suggested Solution
Please add an api to cancel an order, so that at the backend an order can be cancelled if no action is taken on the order after a particular duration.
Alternatives
While creating an order, an optional expiry date can be added on the order so that the order expires after some time and cannot be used for making payment
Additional Information
Why this is needed?
Once we create an razorpay order, it never expires we do not know whether user has made payment or not. Although we can check it through a payment id but the order never expires. Since I do not know when an order expires I will have to keep track of order ids in the database. What if user refreshes the page, closes the standard checkout, there must be a way to cancel current order so that order id cannot be used in future.
The text was updated successfully, but these errors were encountered:
🚀 Feature Proposal
I am using razorpay standard web integration. In this we have to create an order but I see that there is no api to cancel an order.
Suggested Solution
Please add an api to cancel an order, so that at the backend an order can be cancelled if no action is taken on the order after a particular duration.
Alternatives
While creating an order, an optional expiry date can be added on the order so that the order expires after some time and cannot be used for making payment
Additional Information
Why this is needed?
Once we create an razorpay order, it never expires we do not know whether user has made payment or not. Although we can check it through a payment id but the order never expires. Since I do not know when an order expires I will have to keep track of order ids in the database. What if user refreshes the page, closes the standard checkout, there must be a way to cancel current order so that order id cannot be used in future.
The text was updated successfully, but these errors were encountered: