Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-02-03 | v0.17.0v0.17.0 | Jared Norman | |
2020-02-03 | Add support for modifying order params | Jared Norman | |
2020-02-02 | v0.16.0v0.16.0 | Jared Norman | |
2020-01-22 | Remove unnecessay safe navigator | andrea longhi | |
The safe navigator is not necessary here, as all other method calls on `address` don't have it. | |||
2020-01-22 | Avoid raising unnecessary errors with incomplete address | andrea longhi | |
When validating addresses, it may happen that the address has no country, so trying to fetch the country ISO raises an unnecessary error. Using ruby safe navigation prevents this to happen. Of course, the address will still result invalid eventually. | |||
2020-01-14 | Add tax rate calculator class | andrea longhi | |
This new calculator allows to retrieve tax rate information starting from a `Spree::Address` model. It shares some logic with the tax calculator, for example the ability to handle exceptions using `SolidusTaxJar.exception_handler` lambda. | |||
2020-01-14 | Add SolidusTaxJar::API#tax_rate_for | andrea longhi | |
When calculating tax rates, the recommended endpoint from TaxJar support for live calculations is `/v2/taxes`, the same used for calculating order taxes, as it accounts for all factors like sourcing or nexus, while the `/v2/rates` endpoint will return the full combined rate for the queried location. | |||
2020-01-14 | Add SolidusTaxJar::APIParams.tax_rate_address_params | andrea longhi | |
This helper converts a `Spree::Address` to address params that can be used to retrieve the tax rate for that location. | |||
2020-01-14 | Add CalculatorHelper for sharing logic | andrea longhi | |
This module includes helper methods that can be shared among different calculators. | |||
2019-06-26 | v0.15.2v0.15.2 | Jared Norman | |
2019-06-26 | Add order number to params logging | Jared Norman | |
Much easier to trace a request by doing this. | |||
2019-06-25 | v0.15.1v0.15.1 | Jared Norman | |
2019-06-25 | Add logging | Jared Norman | |
This will log the params sent to and responses received from TaxJar in order to facilitate debugging production issues. | |||
2019-06-25 | v0.15.0v0.15.0 | Jared Norman | |
2019-05-28 | v0.14.0v0.14.0 | Jared Norman | |
2019-05-28 | Make use of taxable order check | Jared Norman | |
This just uses the taxable order check configuration added in the parent commit to provide a hook to short circuit order tax checks. | |||
2019-05-20 | v0.13.0v0.13.0 | Jared Norman | |
2019-05-13 | Send customer_id to TaxJar API | Jared Norman | |
This is required to support per-customer exemptions through the TaxJar API. | |||
2019-04-24 | Bump to v0.12.0v0.12.0 | Jared Norman | |
2019-04-24 | More hacks to handle zero dollar orders | Jared Norman | |
I have a plan for how to handle these better in v1.0 though! | |||
2019-04-24 | Report no tax collected when order zeroed out | Jared Norman | |
2019-04-11 | Bump to v0.11.1v0.11.1 | Jared Norman | |
2019-04-11 | Avoid sending negative order totals | Jared Norman | |
If an order is adjusted to zero, we don't want to subtract the tax from it... because that don't make no sense. A better solution that properly factors in order level adjustments will be coming eventually, this is just a hack to process some orders immediately. | |||
2019-04-11 | Bump to v0.11.0v0.11.0 | Jared Norman | |
2019-04-11 | Avoid sending 0 quantity line items | Jared Norman | |
2019-04-05 | Bump to v0.10.0v0.10.0 | Jared Norman | |
2019-04-05 | Make shipping amount calculator configurable | Jared Norman | |
Necessary if you need to factor in order level adjustments (boooooo) into your shipping amounts to make things add up correctly. | |||
2019-03-24 | Bump to v0.9.1 | Jared Norman | |
2019-03-24 | Bump to v0.9.0 | Jared Norman | |
2019-03-24 | Make cache duration configurable | Jared Norman | |
2019-03-24 | Make cache key configurable | Jared Norman | |
Some stores may want to more aggressively cache the responses, preferring fewer requests to more accurate results. | |||
2019-03-20 | Bump to v0.8.0 and update changelogv0.8.0 | Jared Norman | |
2019-03-20 | Increase cache expiry time | Jared Norman | |
2019-03-19 | Bump to v0.7.0, update CHANGELOG.md | Jared Norman | |
2019-03-19 | Report full line item list for transactions | Jared Norman | |
This sends the full list of line items in the order with their SKUs and tax codes when creating/updating transactions in TaxJar. | |||
2019-03-14 | Bump Version | Juan Carlos Ruiz | |
2019-03-14 | Add guard clause for TaxLocation addresses | Juan Carlos Ruiz | |
From Solidus Documentation: An order's tax_address can – through duck typing – be a Spree::TaxLocation instead of the shipping address. This adds a guard clause that validates if the tax_address is a TaxLocation, in this case we know that the address is incomplete. | |||
2019-03-12 | Bump version | Juan Carlos Ruiz | |
2019-03-12 | Add incomplete_address? check method | Juan Carlos Ruiz | |
Solidus has deprecated the `empty?` method on https://github.com/solidusio/solidus/pull/1686 . This adds a private `incomplete_address?` method for avoid future problems and remove the deprecation warning in projects that uses this gem. | |||
2019-02-06 | Provide Spree line items to label makerv0.6.0 | Jared Norman | |
2019-02-05 | Make labels customizable. | Jared Norman | |
2019-02-05 | Make shipping tax label configurable | Jared Norman | |
2019-02-05 | Bump to v0.6.0 | Jared Norman | |
2019-02-05 | Introduce configurable taxable address checkv0.5.0 | Jared Norman | |
2019-02-05 | Move exception handler configuration | Jared Norman | |
2019-02-05 | Bump to v0.5.0 | Jared Norman | |
2019-02-01 | Bump to v0.4.0v0.4.0 | Jared Norman | |
2019-01-31 | Add ability to create refunds | Jared Norman | |
2019-01-30 | Add support for deleting order transactions | Jared Norman | |
2019-01-30 | Add support for updating order transactions | Jared Norman | |