Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle modal dismiss #28

Closed
ArcadeRenegade opened this issue May 14, 2017 · 4 comments
Closed

handle modal dismiss #28

ArcadeRenegade opened this issue May 14, 2017 · 4 comments

Comments

@ArcadeRenegade
Copy link

hi, is it possible to create a handler for when the RazorPay checkout modal is dismissed? i tried passing a function as options.modal.ondismiss but it does not seem to run.

@akshaybhalotia
Copy link
Contributor

Modal dismiss will return error code 2. You can handle it in the error handler.

@ArcadeRenegade
Copy link
Author

ArcadeRenegade commented May 15, 2017 via email

@ArcadeRenegade
Copy link
Author

ArcadeRenegade commented May 15, 2017 via email

@akshaybhalotia
Copy link
Contributor

It should always be calling the error handler. Could you let us know the steps to reproduce the scenario when it doesn't?

cc @mb-14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants