Available in🇮🇳 India
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.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Display a pop-up as a visual reminder to the customer indicating that the payment is in progress.
focus method. This helps as a visual reminder to the customer that the payment is ongoing.
<script>
var rp = new Razorpay(..);
...
</script>
// after some time
<span>Processing Payment...</span>
<button>Take me back to payment</button>
<script>
$('button').click(function(){
rp.focus(); // will bring popup to top
})
</script>
Was this page helpful?