Adyen / adyen-ios

Adyen iOS Drop-in and Components
https://docs.adyen.com/checkout/ios
MIT License
151 stars 120 forks source link

[NEED ASSIST] - Payconiq by Bancontact redirects do not work with dropin sdk #868

Closed owinter86 closed 1 year ago

owinter86 commented 2 years ago

Describe the challenge

Screenshots image image (1) image (2)

descorp commented 2 years ago

Hey @owinter86

Thanks for reaching out!

Do you know the a redirect URL? Could you share pspreference (you can find it in a header of `\payments' response)

owinter86 commented 2 years ago

Pspreference for the problematic payment is

JB4BP6QTQHBBFF32

descorp commented 2 years ago

Hey @owinter86

I was able to recover return URL from pspreference and redirect to your app with it(if open as link) , so I am not sure what might cause Safari issue.

Is it easy to reproduce? Is this behaviour occurs every time you make payment?

owinter86 commented 2 years ago

Hey @descorp its not easy to reproduce as it's the bankcontact payment method which can only be tested on production, with a Belgian bank account that has the bank contact activated. It's a widely reported error from Belgian users, and one of the users reported back the same error with an entirely separate app (that we did not create) that seems to also utilise adyen.

So we are not sure if it's an internal adyen issue, or the bank is misconfigured to redirect back the app/app's with the given return urls.

descorp commented 2 years ago

Thanks @owinter86

We will do internal LIVE tryout and to check with bank, if necessary.

In a meanwhile, to be on a safe side, I would suggest to consider any payment in "pending" state after you start handling the Action and until you know the outcome (success or failure). I believe you receive hooks about successful payment after some time ?

descorp commented 2 years ago

Hey @owinter86 Were you able to workaround the issue?

owinter86 commented 2 years ago

Hey @descorp the issue still occurs, but the payments go through fine, it's just redirect that's causing issues. So the user will manually return to the app after seeing the error.

descorp commented 2 years ago

Hey @owinter86

Sorry for a loooong reply 😅 Redirects are a big issue for a native mobile (iOS especially). We are working on means and infrastructure to improv native redirect in v5.

Successful redirect is a "happy flow", so it is recommended to have a "pending" state to fallback in case payment result is not yet determined.

mohammedDehairy commented 1 year ago

will close this issue for lack of activity, please feel free to reopen or create a new issue if you're still experiencing issues!.