Closed bravier closed 3 years ago
Before, tax_rates property could either be null or an empty array at different places in the code despite previous commits 84fa00b and 4f7c8e3.
tax_rates
null
Commit 4f7c8e3 even broke localstripe tests.
Stripe docs says InvoiceItems' and SubscriptionItems' tax_rates is an array:
So let's use arrays everywhere.
Note: same commit could be done for default_tax_rates.
default_tax_rates
Before,
tax_rates
property could either benull
or an empty array at different places in the code despite previous commits 84fa00b and 4f7c8e3.Commit 4f7c8e3 even broke localstripe tests.
Stripe docs says InvoiceItems' and SubscriptionItems'
tax_rates
is an array:So let's use arrays everywhere.
Note: same commit could be done for
default_tax_rates
.