adyen-ios icon indicating copy to clipboard operation
adyen-ios copied to clipboard

[NEED ASSIST] Is Address validation possible?

Open isidoro-giffgaff opened this issue 3 years ago • 1 comments

Describe the challenge We would like to validate the billing address on the adyen SDK card component. We are using the full address mode.

At the moment on the didSubmit delegate we are calling an API to validate the address, but if the address is invalid the only way to give feedback to the user is through an alert. Is it possible for us to tap into the form error messages? It would really improve the usability from the user point of view.

Thanks

isidoro-giffgaff avatar Oct 14 '21 13:10 isidoro-giffgaff

Hey @isidoro-giffgaff

Unfortunately, it is not possible ATM and, indeed, address validation is a missing feature that we are looking to add in future.

In v4.4.0 we are going to introduce address pre-filling for CardComponent: you would be able to collect address information on your own, validate it and then simply provide it to component, so shopper don't have to type it (again).

In a meanwhile, I love the idea to provide a delegate, so you (as a merchant) can validate the address by your own mean! We will discuss it, and I hope we can add it to all platforms!

Huge thanks for sharing the idea! 💚

descorp avatar Oct 15 '21 07:10 descorp

Was released on 5.3.0

descorp avatar Aug 16 '23 12:08 descorp