#mentijm
1 messages ยท Page 1 of 1 (latest)
Hi ๐ it forces the created Checkout Session to always collect a billing address during the checkout experience:
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-billing_address_collection
Yeah, did you change something here today?
We've had it on for a while but now we start having issues today
Can you share more context? What behavior did you see change? Do you have IDs related to specific examples of these occurrences that you can share?
We migrated a lot of dirty addresses into our customers line1. Now when they try to resubscribe (going through checkout session) we get checkout sessions that's being denied because tax is missing_location_inputs
Can you share the ID of one of those impacted Checkout Sessions so I can take a look at it and its related requests?
cus_LaivaAgUYqdjLp
Working on finding the related Checkout Session from that Customer ID, please bear with me.
customer_details
req_OIougckUeBFet7
req_LA4qGI0sNseUws
req_pc6ZJmkwKJTdPf
There's three from three different customers
Those Checkout Sessions all failed for the same reason, because there is a mismatch between the currency of the Price (eur) being used and the currency that the Customer supports (usd).
https://dashboard.stripe.com/logs/req_5q4vtiKHUpjGuJ
https://dashboard.stripe.com/logs/req_GQLWZcaOvHZBHu
https://dashboard.stripe.com/logs/req_ODFwP3MkxM22zt
I don't see a reference to missing_location_inputs in any of those, where are you seeing that surfaced?
That indicates that the provided address information are either incorrect, or don't provide enough detail for us to pinpoint the location:
https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-automatic_tax-status
It looks like that is being thrown during the initial creation of the Checkout Session, does that go away once your Customer completes the checkout process and provides their billing address? (Assuming the completion of the Checkout Session isn't blocked by a currency mismatch)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
req_nBMQzT3PYPuo1k
Seems we managed to replicate. It's about the eur and usd missmatch but at the same time that checkout session is complaining about requires_location_inputs (which it shouldn't in this example)?
Those are two very distinct topics
I'm still not sure I'm understanding the concern regarding the presence of requires_location_inputs. Does it go away when the Customer completes the checkout experience, since you're setting billing_address_collection to required the Checkout Session should be collecting the necessary billing address details when your customer checks out.
Okok
Btw, is the currency lock a API version thing. I can see that the default_currency is removed in https://stripe.com/docs/upgrades#2022-08-01
No, that is an expected behavior of our Subscriptions and Invoices. Once a Subscription or Invoice is created for a Customer, the Customer is locked to the associated currency.
https://support.stripe.com/questions/setting-a-customers-default-currency
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.