intive / adyen_flutter

A Flutter plugin for the Adyen Payment Provider DropIn UI
MIT License
11 stars 25 forks source link

message: IOException #14

Open chiraginfibrain opened 2 years ago

chiraginfibrain commented 2 years ago

when i make payment call give me error.

handleDropInServiceResult ERROR - reason: null showError - message: IOException

noobflutterdev commented 2 years ago

Did you got any solution?

AzharRaeisi commented 2 years ago

any update on this?

AzharRaeisi commented 2 years ago

After a lot of debugging and printing the exact exception message instead of just IOException, found the solution

The error occurs if your endpoint is not correct, as it aspects base-url/payments not base-url/payment

@alexghiu @tommodore please update the readme section for endpoint

linus-ekstrom commented 2 years ago

Does anyone have any other solutions to this problem? I'm getting the exact same error without any form of explanation.

I have made sure the URL is base/payments and not base/payment as @AzharRaeisi found out.

I have also inspected the network traffic when selecting a payment method and no HTTP calls seems to get executed. So I guess the problem occurs before even making the HTTP request.

Any updates or other solutions?