From 8af6a571d4dbdc7cc55b6c13412dfab748c97271 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 20 Apr 2023 13:31:04 +1000 Subject: [PATCH] Updates for resolving tax sub region for AU --- app/DataMapper/Tax/BaseRule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/DataMapper/Tax/BaseRule.php b/app/DataMapper/Tax/BaseRule.php index 25bef16a0f75..65c072b29c76 100644 --- a/app/DataMapper/Tax/BaseRule.php +++ b/app/DataMapper/Tax/BaseRule.php @@ -154,7 +154,7 @@ class BaseRule implements RuleInterface match($this->client_region){ 'US' => $this->client_subregion = $this->tax_data->geoState, 'EU' => $this->client_subregion = $this->client->country->iso_3166_2, - default => $this->client->country->iso_3166_2, + default => $this->client_subregion = $this->client->country->iso_3166_2, }; return $this;