Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-14 | Update CHANGELOG.mdv0.6.2 | Jared Norman | |
2019-03-14 | Merge pull request #4 from SuperGoodSoft/explain-bug | Jared Norman | |
Better explain the bug fix in v0.6.2 | |||
2019-03-14 | Merge pull request #3 from SuperGoodSoft/add-missing-test | Jared Norman | |
Add test that covers behaviour with TaxLocation | |||
2019-03-14 | Better explain the bug fix in v0.6.2 | Jared Norman | |
2019-03-14 | Add test that covers behaviour with TaxLocation | Jared Norman | |
When an order doesn't have a tax_address, it will rely on the order's store to build a "TaxAddress" for use as the "tax address which in an ideal world would be much more address-like... but unfortunately it's not. | |||
2019-03-14 | Merge pull request #2 from JuanCrg90/bug/add-taxlocation-guard | Jared Norman | |
Add guard clause for TaxLocation addresses | |||
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 | Update CHANGELOG.mdv0.6.1 | Jared Norman | |
2019-03-12 | Merge pull request #1 from JuanCrg90/add-empty-check-method | Jared Norman | |
Add incomplete_address? check method | |||
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 | Add specs for config | 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 missing #'s | Jared Norman | |
2019-01-30 | Add support for deleting order transactions | Jared Norman | |
2019-01-30 | Add support for updating order transactions | Jared Norman | |
2019-01-30 | Add ability to create order transactions | Jared Norman | |
2019-01-30 | Extract address lookup params as well | Jared Norman | |
2019-01-30 | Integrate APIParams class | Jared Norman | |
This removes the logic from the API class and moves all the calls to the order_params method to our new module. | |||
2019-01-30 | Introduce class to handle param generation | Jared Norman | |
This leaves the API class to just be resonsible for calling the right methods on the TaxJar gem. | |||
2019-01-28 | Bump to v0.3.0v0.3.0 | Jared Norman | |
2019-01-28 | Add test mode for disabling calculator | Jared Norman | |
2019-01-28 | Use DiscountCalculator and fix duplication | Jared Norman | |
There's no reason for both the TaxCalculator and the API to have nearly the same logic... so I unified that while was in there. | |||
2019-01-28 | Add configuration for discount calculator | Jared Norman | |
This allows stores to specify their own discount calculator in an initializer, by doing something like the following: SuperGood::SolidusTaxJar.discount_calculator = MyStore::CustomDiscountCalculator The class's constructor should take in a line item and have a #discount method that returns the discount amount (which should be a negative number.) | |||
2019-01-28 | Introduce DiscountCalculator | Jared Norman | |
This extracts the functionality of calculating the discount for a line item in the interest of making this behaviour configurable for stores that would like to factor in order level adjustments in some way. | |||
2019-01-28 | Use correct value in cache key | Jared Norman | |
2019-01-27 | Bump to v0.2.0v0.2.0 | Jared Norman | |
2019-01-23 | Bump versionv0.1.3 | Jared Norman | |
2019-01-23 | Handle situation where there are no line items | Jared Norman | |
TaxJar API is not keen on orders with no line items and will throw errors. | |||
2019-01-23 | Add support for fetching tax rates by location | Jared Norman | |
2019-01-22 | Bump versionv0.1.2 | Jared Norman | |
2019-01-22 | Use promo total instead of adjustment total | Jared Norman | |
2019-01-22 | Bump versionv0.1.1 | Jared Norman | |
2019-01-22 | Make API URL configurable | Jared Norman | |
2019-01-21 | Add warning to top of README | Jared Norman | |
2019-01-21 | Correct typo in READMEv0.1.0 | Jared Norman | |
2019-01-21 | Handle errors gracefully | Jared Norman | |
2019-01-21 | Cache requests for ten minutes | Jared Norman | |
2019-01-20 | Don't send amount | Jared Norman | |
It's not necessary because we're sending line items. | |||
2019-01-20 | Use correctly value for shipping tax | Jared Norman | |
Oops, was grabbing the total shipping tax for the order and using that as the tax, instead of grabbing the collectable tax from the breakdown. That makes more sense. | |||
2019-01-20 | Use more correct test data | Jared Norman | |