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

Closing the checkout window multiple times freezes the app (without proceeding to pay). #101

Closed
himanshusharma89 opened this issue Aug 28, 2020 · 2 comments

Comments

@himanshusharma89
Copy link

Description

Application freezes/hangs if we close the checkout window multiple times without proceeding to pay. And the app gets stuck at a grey screen.

This issue might be similar to #21, but the steps are different and maybe log's too.

Log:

[INFO:CONSOLE(1)] "Uncaught TypeError: window.getDeviceDetails is not a function", source: https://api.razorpay.com/v1/checkout/public?version=1.5.16&library=checkoutjs&platform=android (1)

Razorpay Version :

1.2.1

Flutter Version :

Flutter (Channel beta, 1.21.0-9.1.pre, on Microsoft Windows [Version 10.0.19041.450], locale en-IN

Steps To Reproduce

  1. Open the checkout window.
  2. Close the checkout window without proceeding to pay.
  3. Repeat steps 1 & 2.

Expected Results

The app is expected to continue working supposedly even if we close the checkout window repeatedly.

Snack, code example, screenshot, or link to a repository:

You can try the code mentioned in the repository. Nothing is wrong in the code.

@Nautiyalsachin
Copy link
Contributor

Hey @himanshusharma89, try updating the plugin to the latest version or you can delete the plugin and re-install, which will help you to get the latest frameworks, let me know if that helps to solve this issue.

@Nautiyalsachin
Copy link
Contributor

@himanshusharma89, closing this issue now because of no response, let me know if the issue still persists, you can always re-open the issue or comment on the same. Thanks!

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