diff --git a/app/Services/Tax/Providers/TaxProvider.php b/app/Services/Tax/Providers/TaxProvider.php index c43315d40920..eee35cc3e36e 100644 --- a/app/Services/Tax/Providers/TaxProvider.php +++ b/app/Services/Tax/Providers/TaxProvider.php @@ -132,7 +132,7 @@ class TaxProvider 'city' => $this->client->shipping_city, 'state' => $this->client->shipping_state, 'postal_code' => $this->client->shipping_postal_code, - 'country' => $this->client->shipping_country->name, + 'country' => $this->client?->shipping_country?->name, ]; $taxable_address = $this->taxShippingAddress() ? $shipping_details : $billing_details;