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

API v2 update #1

Merged
merged 27 commits into from
Jul 15, 2015
Merged

API v2 update #1

merged 27 commits into from
Jul 15, 2015

Conversation

lacimarsik
Copy link
Collaborator

This mirrors the recent changes by TaxJar from June 15th 2015 and updates gem for v2 API.

Changes from TaxJar blog

New v2 API docs

According to TaxJar, v1 API is deprecated as of now, and will be supported until September 1st 2015. Gem is compatible with previous API endpoints and no changes in integration are needed unless TaxJar stops the support for v1 API.

Summary of changes

  • new client methods for API v2
    • list_categories
    • create_order_transaction
    • update_order_transaction
    • create_refund_transaction
    • update_refund_transaction
  • dual call for sales_tax and tax_rate for both API versions
  • check for method availability under specified API version and tier
  • version = 0.2.0

Please review, and let me know if any comments on GH @lacimarsik or laci.marsik (at) gmail.com.

@lacimarsik
Copy link
Collaborator Author

Looks like TaxJar have merged Standard and Enhanced API tiers to one, making this a little easier, see API docs. Will reflect the changes as soon as they look stable. Until then, the recent version with the 2 tiers is redirected on TaxJar and works too.

djohnson added a commit that referenced this pull request Jul 15, 2015
@djohnson djohnson merged commit e3957f2 into djohnson:master Jul 15, 2015
@lacimarsik lacimarsik deleted the api-v2-update branch May 3, 2016 12:37
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.

2 participants