nvidia-sniper
nvidia-sniper copied to clipboard
Post Code not automatically converted to correct format
Noticed that order didn't go ahead and froze the script due to UK postcode not having a space in the middle of it. Would be useful if either postcodes were automatically formatted to the correct format accepted by the site, or put it in the read me file a notification for users to check what format their postcode needs to be in on the site before writing it into the customer.json file.
Oh my fucking god....me too man. Missed the notification since i was putting my kid to bed. Im devestated.
The easiest fix here would likely be to update the README to make it very clear to follow the official format for post codes where you live. I'm not from the UK, but I imagine people have gotten used to omitting the space because lots of websites don't care about it.
There are modules which can be imported that claim to be able to parse out and normalize UK post codes, but the most popular one requires compilation of some C libraries first.