-
Notifications
You must be signed in to change notification settings - Fork 682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tax ID collection requires updating business name on the customer. #1585
Comments
I have news about the problem: The log of my request that generates the error is this:
However, Stripe is considering the 'customer update' field as mandatory with the following values when calling checkout:
In theory, to fix it, it would be necessary to change the
to
However, as Stripe Tax is not available in my country, I cannot say if it will work properly in this situation. I didn't find anything stating that they are mandatory when the So my solution to solve it in my case was: I add to
It works normally again. Note: |
Have the same issue. Last day feature still works until today. I think Stripe already updated something that makes this issue happens. I tested that removing tax_id_collection from payload if you not need to use tax will work. Hope team can update early Thank you. |
I started having this same exception as well, it now looks like cashier-stripe/src/Checkout.php Line 88 in 852e26d
unset($data['tax_id_collection']['enabled']);
// Make sure to collect address and name when Tax ID collection is enabled...
// if (isset($data['customer']) && $data['tax_id_collection']['enabled'] ?? false) {
// $data['customer_update']['address'] = 'auto';
// $data['customer_update']['name'] = 'auto';
// } It looks like Stripe must have changed something in their October 16th release, as I wasn't encountering this before that date: |
I am seeing this starting today too, but only on my dev server. Strangly both my dev and production servers are using the older API version, and have no usage on the 10/16 update, but I am still seeing the issue. |
Cashier Stripe Version
13.17
Laravel Version
10.8
PHP Version
8.1
Database Driver & Version
No response
Description
Hello everybody,
I was using Cashier with Stripe (checkout). It was working normally, but I started getting this error:
Steps To Reproduce
Este é o meu
AppServiceProvider
:I'm not using
Cashier::calculateTaxes();
.This is my model
User
which must be billable:And this is the controller where I try to make the subscription:
All migrations were executed.
My .env file has the registered keys:
The text was updated successfully, but these errors were encountered: