Registry Mirror
Skip to content

Conversation

@grandnode-dev

Copy link
Copy Markdown
Member

Type: bugfix

Issue

With the country/state/zip tax provider active, a price calculated without an address (a guest who has not given one, and no default tax address configured) came back with the error "Address is not set". TaxService logs every provider error with LogError, so the log got one error per price shown: 1,955 entries in a single checkout run of the sample store.

Solution

Without an address the provider answers rate 0 without an error. The rate was 0 before too, so prices do not change; only the error and its log entry go.

Breaking changes

None.

Testing

  • CountryStateZipTaxProviderTests (new; Grand.Modules.Tests now references the plugin): no address gives rate 0 and no error (fails on develop), and an address in a country with a rate gives that rate.
  • Grand.Modules.Tests: all pass.

Without an address (a guest who has not given one, and no default tax address) the provider answered with the error "Address is not set", which TaxService logs on every price it shows: 1,955 entries in one checkout run. The rate was 0 either way; it is now 0 without an error.
Copilot AI balanced review requested due to automatic review settings November 28, 2026 11:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@grandnode-dev
grandnode-dev merged commit 3844d7b into develop Nov 29, 2026
9 checks passed
@grandnode-dev
grandnode-dev deleted the fix/tax-country-state-zip-no-address-log branch November 29, 2026 10:08
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