Readit News logoReadit News

Deleted Comment

pavanto commented on What is the minimal possible UK address?   microblog.vladh.net/posts... · Posted by u/noughts
djm_ · 3 years 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 :)

pavanto · 3 years ago
How would it work where the house has a name instead of a number e.g. Wisteria cottage, Bristol, BS1 1AA?
pavanto commented on Ask HN: What's Your Biggest Regret?    · Posted by u/xupybd
pavanto · 3 years ago
My life is full of regrets and nostalgia.

When I was studying for Master's in Sweden about 20 years back, I had a crush on an Austrian girl. I was so timid and had lack of confidence that I never asked her out due to fear of rejection. In fact most of the decisions and I took and still taking are influenced by fear of rejection.

I know how to live a happy life theoretically but don't know how to implement in the real life.

Sometimes I feel life had given me quite a few opportunities and squandered them

u/pavanto

KarmaCake day272June 28, 2017View Original