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

Add support to close the loading bottom sheet (google pay) #312

Open
drekyyy opened this issue Nov 21, 2024 · 3 comments
Open

Add support to close the loading bottom sheet (google pay) #312

drekyyy opened this issue Nov 21, 2024 · 3 comments
Assignees
Labels
enhancement Indicates new feature requests

Comments

@drekyyy
Copy link

drekyyy commented Nov 21, 2024

Is your feature request related to a problem? Please describe.
Hey, this is a continuation of https://github.com/Adyen/adyen-flutter/issues/296 where I needed the loading bottom sheet and you helped me out - appreciated again.

But now, Id love an option to close that loading bottom sheet utilizing some method preferably.
It would be helpful because we poll /paymentCapture during 3ds flow for few edge cases and Id really like to have the freedom to close the loading sheet when it fits the flow the best.

Why we poll payment capture during 3ds?
It solves our issue where user, upon entering 3ds redirect webpage and providing a password (doesnt matter if correct) is prompted with back to the app redirection and sometimes, instead of one, has two 'same' apps to choose from - I cant really find a solution to this problem, only one of those apps will return the user back to the app, the other one is a 'ghost' and will result in no action, and upon manually closing the page, we get no result from the component to check if the payment was in fact finished or not.

462561991_876385820937875_7830168683490614588_n (1)
Flutter 3.13.9, Android 14

Please let me know if you would introduce a method to close the loading bottom sheet for GPay. And any feedback regarding the 'two apps' issue is also welcome.

Describe the solution you'd like
Preferably a method that closes the loading bottom sheet

@drekyyy drekyyy added the enhancement Indicates new feature requests label Nov 21, 2024
@Robert-SD Robert-SD self-assigned this Nov 22, 2024
@Robert-SD
Copy link
Collaborator

Hi @drekyyy,
Thanks again for your suggestion. I really appreciate your and your teams regular feedback and will discuss the idea with the Android team.
Maybe we can work around the selection picker without using a callback in the meantime. The first impression I have seeing the 'two apps' selector, is regarding the returnUrl and the specified intent filter in your Manifest file of the Android layer.
Do you use flavors and have a "demo/test" and "live" app that both define an intent filter? So you have two apps installed on the device being capable of handling the returnURL intent. In the example app we define the host (applicationId) and an additional path. Does it look similar to your configuration?

@drekyyy
Copy link
Author

drekyyy commented Nov 28, 2024

Hey @Robert-SD
Thanks for quick reply as usual - as per flavors, they aren't implemented in the app. I tried messing with intent-filter but to no success, I will keep searching for a fix though.

Can you let me know when can we expect a new package version containing this gpay fix? https://github.com/Adyen/adyen-flutter/pull/298

@camil-adyen
Copy link

Hi @drekyyy, due to peak season and some other features that are still in development we are planning to release v1.2.0 in the first week of January. That release will also include the fix discussed in this issue. We hope that works for you!

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

No branches or pull requests

3 participants