electrikhq / electrik

Electrik is a full-featured, open-source, starter-kit to help you build you your SaaS application.
https://electrik.dev
MIT License
265 stars 22 forks source link

Strandardise Stripe's Tax support #3

Closed neerajsohal closed 1 year ago

sanchezpablo commented 1 year ago

Is this issue related with this error after registration?

Stripe Exception InvalidRequestException PHP 8.2.1 9.46.0

You passed an empty string for 'default_tax_rates[0]'. We assume empty values are an attempt to unset a parameter; however 'default_tax_rates[0]' cannot be unset. You should remove 'default_tax_rates[0]' from your request or supply a non-empty value.
sanchezpablo commented 1 year ago

I used the .env variable CASHIER_TAX_RATE_SGST and the other variables to map with a Stripe tax rate, and seems to worked ok.

neerajsohal commented 1 year ago

Glad to hear that. Closing the issue. Feel free to open again or create a new issue.