Updates for resolving tax sub region for AU

This commit is contained in:
David Bomba 2023-04-20 13:31:04 +10:00
parent 80b801fb90
commit 8af6a571d4

View File

@ -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;