Developer Discussions
How to use parameter 'redirectUrl' in endpoint 'Create Dynamic QR'
over 2 years ago by Una
Hi Maya Dev,
I am using the endpoint 'Create Dynamic QR' to implement QR code payment. I set redirectUrl including 'success','failure','cancel' with some url parameters. Would like to check with the flow:
- The website retrieves Maya QR code url from endpoint 'Create Dynamic QR', and redirect User to the QR code url.
- User opens Maya app with mobile, then scans the QR code.
- If User pays successfully, in mobile it will redirect to the 'success' url of 'redirectUrl' I set before, same as 'failure' and 'cancel' scenarios.
Is that correct?
And what happens if I leave 'redirectUrl' empty?
Best Regards,
Una