Shopify/active_shipping

USPS Address Validation API

Opened this issue · 3 comments

Going off #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.

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.

@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

@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.