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

Getting success callback event for failed payment #249

Closed
6 tasks done
ayusch-apps-curefit opened this issue Feb 24, 2020 · 6 comments
Closed
6 tasks done

Getting success callback event for failed payment #249

ayusch-apps-curefit opened this issue Feb 24, 2020 · 6 comments

Comments

@ayusch-apps-curefit
Copy link

ayusch-apps-curefit commented Feb 24, 2020

Receiving multiple success callbacks. Payment fails once, but the next time it's successful we receive two success callbacks.

IDE Specs

IDE: WebStorm (React Native).
Razorpay SDK Version: 2.1.31

Retro Steps

  1. Initiate a payment. (Razorpay's bottom sheet opens up).
  2. Cancel the payment.
  3. Wait for approx. 1 hour.
  4. Initiate the payment again and mark successful.

Screenshots

@Nautiyalsachin
Copy link
Contributor

Hi @ayusch-apps-curefit, can you provide more details here? Like the response of success callbacks and how to reproduce it.

@ayusch-apps-curefit
Copy link
Author

I've already mentioned the steps to reproduce it (Retro Steps).
Also, there isn't any specific response from the callbacks. I guess that the old callback subscription isn't getting removed somehow leading to multiple success callbacks from SDK.

@Nautiyalsachin
Copy link
Contributor

@ayusch-apps-curefit, have you tried updating current SDK to v2.1.32. As we have updated our package and provided support for AutoLink.

@ayusch-apps-curefit
Copy link
Author

Will it also address the problem above?

@Nautiyalsachin
Copy link
Contributor

I think so, as we have modified the current package.

@Nautiyalsachin
Copy link
Contributor

Closing this issue due to the time elapsed. Please feel free to either re-open the issue or create a
new issue if you have any additional queries.

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