Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for TaxJar Address Validation API #22

Merged
merged 6 commits into from
Jul 14, 2020
Merged

Conversation

jarednorman
Copy link
Member

No description provided.

I'm going to add support for address validation. This is the first step,
ensuring that we can take a Spree::Address and transform it into the
params that TaxJar expects for the address validation endpoint.
This adds support to the API module for performing address validation
lookups. It doesn't hook anything up to that, but you can now call:

SuperGood::SolidusTaxjar.new.validate_spree_address(address)

to hit the TaxJar address validation API and a list of validated
addresses back.
This is used by any class that interacts with the TaxJar API and is
meant to be able to be consumed by applications for custom needs, so
let's just make it exposed at the top level.
@jarednorman jarednorman merged commit 6073b52 into master Jul 14, 2020
@jarednorman jarednorman deleted the address-validation branch July 14, 2020 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant