-
Notifications
You must be signed in to change notification settings - Fork 66
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
'Adyencheckout' links are blocked #716
Comments
Hi, thank you for opening this issue. Could you run the command below to verify if the deeplink is actually working?
Also, could you provide more details about the browsers and their versions that are being used? It could be a specific version of a browser that doesn't allow the way in which the redirect is performed anymore. |
Hi, ah yes we can confirm that the deeplink is working because we were able to do successful checkout on some of our devices. However, for most of the devices we tried we encountered the error above. We are unsure of the browser used since we are using Drop-in but it seems to be a webview powered by Chrome. We followed the Adyen Drop-in guide step by step and it was working before but suddenly we encountered the problem that the link is blocked. |
Can you try debugging the webview and share the logs? In this article they explain how to do it. |
Hi @OscarSpruit was just able to confirm the browser and versions being used. It is failing on the following devices:
The redirect was working on devices with older chrome versions:
Is there a workaround for this issue at the moment? |
Thanks! It indeed seems to be an issue with certain chrome versions. We are still investigating what exactly causes it, so no workaround for now. However, I read in a chromium issue thread that clearing the cache/app data of the Chrome app sometimes fixes the problem. |
@neil-showpo @OscarSpruit this is a current Chrome Custom Tabs issue https://bugs.chromium.org/p/chromium/issues/detail?id=1323163&q=ERR_UNKNOWN_URL_SCHEME&can=2. This started to break after Chrome version This does highlight the a tightly coupled issue with Custom Tabs - maybe we could provide an override where it could just open in the default browser as it's not an issue with Chrome it's an issue with the CustomTabs extension. This would allow apps to safely continue to use Redirect Components when Chrome Custom Tabs breaks but I understand this is likely a rare situation. |
Hi @neil-showpo. Did you notice anything particular about the redirects that failed? For example did the redirect take a long time before it eventually failed, or did it happen in the background, or does it only happen in custom tabs but not in Chrome, etc. We're struggling to reproduce it consistently so I was wondering if you have any more input. Can you maybe share a screen recording as well? Thanks again for helping investigate this! |
Hi @jreij we seem to encounter it consistently when making US Klarna pay over time payments on the test environment. When making Klarna pay over time payments on other currencies like AUD it seems to work normally. The error seems to happen only on the Custom Tabs after finishing the payment process and when it is trying to get back to the app using the return url. We are just using the default Drop-in implementation of the Adyen SDK. We'll try to post a recording of the issue later. |
Thanks @neil-showpo for the details. So far we did some thorough investigation and we think that as @crherman7 suggested (thanks as well!) this is mainly an issue caused by Chromium and Custom Tabs. Currently our interpretation of the issue is this: BackgroundThe issue occurs in the following flow:
It seems to have started happening with Chrome version Solution directions
|
@jreij thanks for the updates and potential solutions outline! It doesn't seem like the google team has had any success yet solving the issue. Has your team thought about allowing a consumer of the library to pass an override attribute to disable Chrome Custom Tab intent and just use the default browser intent? |
We are informing our users about the 3 dots way until Google fixes the issue. I have tried overriding the Adyen redirect component and disabling the Custom Tab intent with an browser intent and that unfortunately did not resolve the issue and the user would not be able to do the 3 dot solution. |
@christianfindsen how did you go about overriding the Custom Tab Intent? adyen-android/redirect/src/main/java/com/adyen/checkout/redirect/RedirectUtil.kt Line 110 in 0cb4505
|
I think the redirect might get blocked with Chrome as well as Custom tabs, however what the 3 dots action does is simply retry the redirect which might solve the issue. Another thing we are doing is to reach out to the payment methods (for example Klarna) to figure out if anything can be done on their end to solve this, especially if the "5 seconds" timeout is indeed the root cause of the issue. Will keep you posted 👍 |
No I copied the needed classes into my local project and then added my own logic. But as @jreij mentions is that both are blocked and the 3 dot solution is retying the redirect, so it doesn't work. Hopefully we will see some fixes in the near future. |
Hi, @jreij Hope you guys are doing well. Are you following the issue on the bug that you linked? It seems like it might be another Chrome issue with a potential workaround on the glue page. We are still seeing this issue with Twint. |
Hi @christianfindsen , thanks for the update! We are looking into it indeed, so far we still the the fix has to be done on the payment methods' side (Klarna, Twint, etc.) but we are investigating with them and internally as well on how to solve this. |
Hi again everyone, are you still facing this issue? And how frequently compared to before? We saw a few updates on Chromium that tried to mitigate it but we're not sure how effective they are. We'd appreciate it if you have some recent feedback 🙂 |
Hi @jreij, we are still facing the issue with Twint. Since 28/10 we have even dropped 7% more in complete purchases without any related app released from our side. I just did a test today with the Twint test app and saw a minor popup view in the top when trying to redirect back to the app and that worked fine but I do see an issue here that if the user do not click on that within ~5 sec the view fades and you have no way to navigate back. Not sure if they have rolled this out to everyone as we are still getting user complaints in the affected markets. |
Thanks a lot @christianfindsen for your feedback, very helpful as always! I will forward this internally and see how we can follow up with Twint. |
Do you have any data about Klarna or any other payment methods as well? |
We are only having issues with Twint. Other 3rd party payments that has redirects involved are performing as good as they can. |
Hi @jreij I can confirm that we still see an issue with Klarna payment and RedirectComponent integration. When CCT is opened after the payment navigation back to the app with the deep link is blocked by the browser. The difference now with last year is that there is also a popup from the browser with a "Continue" button. But this popup disappears after a few seconds so if the user misses it the payment flow is still broken. |
Thanks for reporting this @plastiv ! |
Hi @jreij. Just got back from a long overdue vacation 👯 On our end we are not seeing the issue anymore on the affected markets and we are back to the expected conversion. |
Describe the Bug
Hi we are currently experiencing issues when using Adyen in Android when the payment method needs a return_url (example is Klarna payover time). We are getting an error message stating that the scheme for the return_url is blocked after completing the payment and trying to redirect back to the app. We are using the return url generate using RedirectComponent.getReturnUrl(this);
To Reproduce
Do a checkout using drop-in that requires are return_url. Example would be Klarna Pay Over time.
Device used:
Additional Information:
There are some devices which the issue cannot be replicated but a significant amount of the devices we used for testing return with the link blocked error.
The text was updated successfully, but these errors were encountered: