|
|
|
|
|
by djm_
1205 days ago
|
|
I remember working with SagePay as a payment provider back in 2008 (before we knew of Stripe!) and finding it interesting that card address validation was only done on the numbers in a full address. For example, from "20 Windsor Road, London, SE1 6JH" it would extract 2016 and validate that against the banks details. I thought that was quite a smart way as UK addresses can come in all forms, shapes and sizes (as the post shows) – but the minimal bits required to be correct are indeed the numbers as all postcodes have them and an incorrect number would mean a incorrect postcode. Edit: the funny bit was that they made you work this out and send it along with the request rather than just handling it internally :) |
|