I have used Stripe which uses somewhat similar pop up for payments.
Follow below steps:
- Get the id of the button that triggers the popup.
- Now you should see your popup. After the popup closes, you should receive a callback function from payu. Use this callback function to render a
cancelview based on the status of the transaction.
Let me know if it is clear or if you need ant further clarification. Kudos!