active_shipping icon indicating copy to clipboard operation
active_shipping copied to clipboard

USPS Address Validation API

Open Tonkpils opened this issue 9 years ago • 3 comments

Going off https://github.com/Shopify/active_shipping/issues/39, would active_shipping be open to adding a method for the address validation API for USPS carrier?

I'd be happy to make a PR for this but wanted to get your +1 before moving ahead.

Tonkpils avatar May 17 '16 16:05 Tonkpils

Hey! I'd be interested in seeing an optional method that allows us to validate addresses. The key is to make it not a required component of a typical request, since adding an extra API request would slow down the process.

Feel free to create a PR for this, I'd be happy to review it.

jonathankwok avatar May 17 '16 18:05 jonathankwok

@Tonkpils / @jonathankwok (I dug around in closed pr's and couldn't find this issue referenced ) I would be happy to pick this up if there is still a need

alecharmon avatar Nov 03 '16 22:11 alecharmon

@jonathankwok Hey so rather then validate where there is a carrier method that returns a boolean, I think it makes more sense to return what USPS interpreted the correct location to be and nil if it can't be validated.

alecharmon avatar Nov 04 '16 21:11 alecharmon