Sample Code
var rp = new Razorpay(..);
...
// after some time
Processing Payment...
Take me back to payment
$('button').click(function(){
rp.focus(); // will bring popup to top
})
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
You can bring a pop-up on the screen by calling the focus method. This helps as a visual reminder to the customer that the payment is ongoing.
var rp = new Razorpay(..);
...
// after some time
Processing Payment...
Take me back to payment
$('button').click(function(){
rp.focus(); // will bring popup to top
})
Was this page helpful?