Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best Strategies for preventing addresses with PO Boxes?

I have a client which is shipping via UPS, and therefore cannot deliver to Post Office boxes. I would like to be able to validate customer address fields in order to prevent them from entering addresses which include a PO box. It would be best if this were implemented as a regex so that I could use a client-side regex validation control (ASP.NET).

I realize there's probably no way to get a 100% detection rate, I'm just looking for something that will work most of the time.

like image 841
LockeCJ Avatar asked Dec 14 '22 06:12

LockeCJ


1 Answers

UPS also has tools that you can integrate to do this... that way you can verify an address exactly as to whether or not they will ship, what the cost would be, schedules, etc. I suggest visiting the UPS IT Solutions page for more information.

like image 160
Jason Coco Avatar answered Dec 29 '22 13:12

Jason Coco