-
Notifications
You must be signed in to change notification settings - Fork 36
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
Fire a callback when payment canceled by shopper #112
Comments
Hey @iszhuravlev Thank you for a feedback! We will check with Android Team and will keep you posted! As a temporary workaround you can use standalone |
@descorp I patched the library and it worked, thank you! Looking forward for the news about Android :) |
@descorp Do you have any updates for this? |
Hey @iszhuravlev Thanks for checking! |
@iszhuravlev How did you fix this issue? |
Hey @anthlasserre the callback mentioned above is not yet part of React Native SKD. |
@descorp It would be useful to know when payment process is canceled by the user so editing of order products quantities or any other order info could be enabled again in the form... |
@iszhuravlev How does the android patch look like? Can you help with sharing it or opening a PR? |
Hey @fdobre
If DropIn or Individual component is canceled by the shopper, you get onError callback with Callback for cancellation for individual components within DropIn is not yet supported. |
Is your feature request related to a problem? Please describe.
We'd like to use Klarna as one of the payment methods in the dropIn.
The steps leading to the problem are:
klarna
option -> The in-app browser is openedSo my question is: is it possible to react somehow on this last event? We'd like to perform certain actions when user manually closes the browser.
I tried to subscribe to
focus/blur
event ofreact-navigation
, but surprisingly it didn't work as well.Describe the solution you'd like
Maybe having a callback passed to AdyenCheckout to handle browser being closed.
Describe alternatives you've considered
Or having onFail called.
Or maybe I'm missing something. If that's so, please tell me, I'd appreciate any feedback.
SS
The text was updated successfully, but these errors were encountered: