#loterak
1 messages · Page 1 of 1 (latest)
That makes sense.
This particular user does have a zip code associated to their CC but every time they open a checkout they get this error.
Hello 👋
Since the customer doesn't have a zip code, checkout won't be able to calculate the tax when you pass in the customer ID on creation.
As the error message suggests, you'd need to set customer_update[address] or the shipping update to auto
This allows customer to provide a zip and lets stripe store & use that for tax calculations
Yeah, they can already update their address from the customer portal but I would rather avoid having them do that manually.
Given the docs, I don't understand why the zipcode is not getting grabbed from the CC
can you share the customer ID you're working with?
yep! cus_JdTQSUwigO5P3c
The payment method isn't set as default
https://stripe.com/docs/tax/customer-locations#address-hierarchy:~:text=The payment method tied to the transaction is the first one that’s set in this list%3A
try setting it as default under inovice_settings.default_payment_method and see if that works
So even if they only have one payment method that won't be the default automatically?
Stripe doesn't set any payment methods as default. The API just considers them attached.
You'd need to make an API request to mark a PaymentMethod default
I see. Maybe we should be doing that.
I've set their payment method as default but the checkout still seems to be failing
Can you share the request ID?
req_FlUDYTguAfzLfW
asked a colleague to take a look, will respond as soon as we find something
We're still looking into this, appreciate your patience
No worries
We suspect that this might be a bug, we're investigating but I would recommend you writing into our support with all the details you've shared here via
https://support.stripe.com/?contact=true
Will do, thank you!