Adyen / adyen-ios

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

Drop-in accepting expired months in current year #461

Closed tidalboot closed 3 years ago

tidalboot commented 3 years ago

The drop in is currently not showing expired months in the current year as expired/invalid. For example at the time of raising this bug in April the drop in "ticks" February 2021 (02/21) I the expiry date where it shouldn't.

I've attached a screenshot as an example and have left the details sparse on purpose as the issue is pretty easy to replicate and isn't a detailed or complex issue but happy to provide any extra info as needed.

Tested on latest non-beta version (3.8.4)

IMG_2146

descorp commented 3 years ago

Hey @tidalboot

Thanks for reaching out!

This is intentional - in some rare circumstances expired card could still be used. For example, during COVID last year, governments of some countries prolonged usage of expired cards to keep people from going to local bank offices.

The issuing bank has a final word here, and since Adyen can't guarantee that the card is no longer work with 100% - we are allowing a ±3 month difference.

tidalboot commented 3 years ago

Aha gotcha! Makes perfect sense to me.

Always cool seeing these weird banking quirks.

Thanks for getting back so quickly, will close this issue down 👍