summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-26Fix CHANGELOGHEADmasterNicholas Van Doorn
This change was put under the wrong release as the result of a rebase mistake.
2021-07-26Merge pull request #81 from nvandoorn/add-install-generatorNicholas Van Doorn
Add install generator
2021-07-26Update CHANGELOGNicholas Van Doorn
2021-07-26Add install generatorNoah Silvera
Prior to this commit, users were required to manually configure this extension after installing the gem. We add an install generator so users can run a single command to handle this. We include this command in the sandbox script so the sandbox is ready to use this extension by default. Co-authored-by: Noah Silvera <noah@super.gd>
2021-07-21Merge pull request #88 from SuperGoodSoft/77-add-shipment-shipped-eventNicholas Van Doorn
#77 Add shipment shipped event
2021-07-19Update changelog77-add-shipment-shipped-eventNoah Silvera
2021-07-19Add an event that is fired when any shipment shipsNoah Silvera
Transactions need to be reported to TaxJar when any of the shipment ships (some stores have partial shipping). To accomodate this, we add a new event which is fired whenever any shipment on an order ships. Co-authored-by: Nick Van Doorn <nick@super.gd>
2021-07-07Bump super_good-solidus_taxjar to 0.18.2v0.18.2Jared Norman
2021-07-05Merge pull request #87 from Noah-Silvera/update-changelog-for-0.18.2-releaseNoah Silvera
Update changelog for 0.18.2 release
2021-07-05Update changelog for releaseNoah Silvera
2021-06-21Merge pull request #80 from nvandoorn/77-support-order-recalculatedNicholas Van Doorn
Support order_recalculated event in Solidus < 2.11
2021-06-16Update CHANGELOGNicholas Van Doorn
2021-06-16Support order_recalculated event in Solidus < 2.11Alessandro Desantis
Solidus < 2.11 doesn't support the `order_recalculated` event, so we implement a decorator to support this feature in Solidus versions we test against (2.10 and 2.9). We need this event to support sending order updates to TaxJar, so we add it first. Note that we include `SolidusSupport::EngineExtensions` so decorators are loaded. Co-authored-by: Nick Van Doorn <nick@super.gd> Co-authored-by: Noah Silvera <noah@super.gd>
2021-06-16Specify all spree namespaces in lib as root namespacesNoah Silvera
An upcoming commit will add a decorator that creates the SuperGood::SolidusTaxjar::Spree namespace, which will change which module all existing Spree instances in the lib folder reference. We should force them to look for the root Spree namespace so tests do not break.
2021-06-07Merge pull request #71 from Noah-Silvera/remove-exec-js-lockNicholas Van Doorn
Unlock the ExecJS version
2021-06-07Update ChangelogNoah Silvera
2021-06-07Unlock the ExecJS versionNoah Silvera
A new release of ExecJS (2.8.1) patched a bug which was preventing the app from booting, and autoprefixer, which indirectly requires ExecJS for this app, temporarily locked ExecJS to a working version until they fix a bug, so we no longer have to lock ExecJS ourselves. Co-authored-by: Nick Van Doorn <nick@super.gd>
2021-06-04Merge pull request #79 from filippoliverani/filippoliverani/relax-ruby-versionNoah Silvera
Relax Ruby required version to support Ruby 3.0+
2021-05-27Update ChangelogFilippo Liverani
2021-05-27Relax Ruby required version in Gemspec to >= 2.5.0Filippo Liverani
2021-05-19Merge pull request #64 from Noah-Silvera/use-address2-in-address-validationNoah Silvera
Use spree address2 if it is present
2021-05-19Update ChangelogNoah Silvera
2021-05-19Use spree address2 if it is presentNoah Silvera
The taxjar validation API has the option to take a freeform street input consisting of the full address. This means that if both address1 and address2 exist, we should concatenate them and pass them to the street parameter. This can help with situations that involve a suite number that has a unique ZIP+4 code that can be determined from the suite. The suite number is usually kept in address2, so without it, there's no way to distinguish the full address if only the 5 digit zip code is passed. Co-authored-by: Nick Van Doorn <nick@super.gd>
2021-05-17Merge pull request #37 from Noah-Silvera/add-basic-taxjar-settings-uiNicholas Van Doorn
Add basic UI for Taxjar settings in solidus admin
2021-05-12Update changelog to reflect PR contentNoah Silvera
Add a note in the changelog describing how this PR adds a admin interface for basic taxjar settings.
2021-05-12Provide helpful links for setting up TaxjarNoah Silvera
To comply with the certification guidelines for Taxjar, we should provide links to signup for Taxjar, and a link to a help article on aquiring a Taxjar token.
2021-05-12Add basic UI for Taxjar settings in solidus adminNoah Silvera
This commit adds a tab to the taxes section of the solidus admin settings. This provides the foundation for further configuration of taxjar through the solidus admin. The settings should be hidden if an API key has not been provided. This is to conform to the certification guidelines for an official Taxjar extension. Co-authored-by: Nick Van Doorn <nick@super.gd>
2021-05-12Merge pull request #68 from Noah-Silvera/remove-mistaken-readme-instructionNicholas Van Doorn
Remove install generator instructions from readme
2021-05-12Don't set global environment variables in testsNoah Silvera
If you set the `ENV` variable in a test, this carries over to other tests. This was affecting different tests which relied on the environment. Co-authored-by: Nick Van Doorn <nick@super.gd>
2021-05-12Use `solidus_dev_support` feature helperNicholas Van Doorn
We are going to be writing feature specs for new admin user interface components. Note that we can remove the line that requires `rails_helper` as `feature_helper` also includes this. Co-authored-by: Noah Silvera <noah@super.gd>
2021-05-12Remove install generator instructions from readmeNoah Silvera
These instructions were added pre-emptively - currently no migrations or install generators exist. Co-authored-by: Nick Van Doorn <nick@super.gd>
2021-05-12Merge pull request #69 from Noah-Silvera/lock-execjsNicholas Van Doorn
Lock ExecJS and solidus extensions orb version
2021-05-12Update changelogNoah Silvera
2021-05-12Lock `solidusio/extensions` orb to `0.2.24`Nicholas Van Doorn
A new version of `solidusio/extensions` has been released which runs the specs against Solidus 2.11. We are not ready for Solidus 2.11 yet, and the failing CI is blocking things, so we will avoid Solidus 2.11 for now, but we do want to support it eventually.
2021-05-12Lock ExecJS versionNoah Silvera
ExecJS released a minor version update with a breaking change. We want to lock to the previous version (2.7) for now until a fix is released. Co-authored-by: Nick Van Doorn <nick@super.gd> Co-authored-by: Adam Mueller <adam@super.gd>
2021-04-16Merge pull request #59 from Noah-Silvera/add-debugging-toolsNoah Silvera
Add pry debugging tools
2021-04-15Update changelogNoah Silvera
2021-04-15Add pry debugging toolsNoah Silvera
Pry stack explorer and byebug are useful tools to have for debugging this extension.
2021-04-15Merge pull request #58 from ↵Nicholas Van Doorn
Noah-Silvera/56-take-adjustments-into-account-when-calculating-shipping Take adjustments into account when calculating shipping
2021-04-13Update changelogNoah Silvera
2021-04-13Consider promotions in default shipping calculatorNoah Silvera
Previously, the shipment_total method on order was used, which does not take into account shipment promotions. Instead, we should manually sum the shipment cost taking into account any adjustments. Co-authored-by: Nick Van Doorn <nick@super.gd>
2021-04-12Add a simple spec for the shipping calculatorNoah Silvera
We are going to be changing the shipping calculator, so we should add a simple spec to test the existing behavior. Co-authored-by: Nick Van Doorn <nick@super.gd>
2021-03-31Merge pull request #55 from SuperGoodSoft/circleci-project-setupNoah Silvera
Add .circleci/config.yml
2021-03-31Add .circleci/config.ymlcircleci-project-setupNoah Silvera
We want to switch from travis CI to circle CI as we have run out of credits on travis, and circle CI has a robust orb for running tests for solidus extensions.
2021-03-26Merge pull request #51 from nvandoorn/add-taxjar-nexus-api-callNoah Silvera
Add TaxJar `nexus_regions` API call
2021-03-25Update CHANGELOG.mdNicholas Van Doorn
Co-authored-by: Noah Silvera <noah@super.gd>
2021-03-25Add nexus regions method to APINicholas Van Doorn
We want to start syncing nexus data from TaxJar to this extension. As such we start by implementing an API call to fetch nexus regions from TaxJar. Future commits should offer path for users to persist this data in their Solidus store. Co-authored-by: Noah Silvera <noah@super.gd> Co-authored-by: Adnan Abdulally <adnan.abdulally@printivity.com>
2021-03-25Merge pull request #53 from ↵Noah Silvera
nvandoorn/update-pull-request-template-to-include-sandbox-test Update PR template to include sandbox testing step
2021-03-25Update changelog for v0.18.10.18.1Jared Norman
2021-03-25Bump super_good-solidus_taxjar to 0.18.1Jared Norman