Skip to main content
After you make AJAX requests, emit resume or cancel the event using this code:

Format of Data Object and Success/Error Handlers

payment.resume : Event initiates the usual payment process and emits payment.success or payment.error events according to the payment result. payment.cancel : Razorpay will not initiate the payment.