#Morio
1 messages · Page 1 of 1 (latest)
one second
As soon as I add the 100% promo code the checkout wants the billing address
Thanks! Give me a few minutes to look into this.
Do you need a promo code to test the behaviour I could pm you one
Can you also share the 100% promo code s I can reproduce the issue?
HJIKL0987ULKIO
I mean if we can prefill the billing address upfront when creating the checkout session that would also work for us
This is because you've configured the the session to calculate tax via automatic_tax[enabled]
Checkout uses the shipping address entered during the session to determine the customer’s location for calculating tax. If you don’t collect shipping information, Checkout uses the billing address.
https://stripe.com/docs/tax/checkout#new-customers:~:text=Checkout uses the shipping address entered during the session to determine the customer’s location for calculating tax. If you don’t collect shipping information%2C Checkout uses the billing address.
So although there's no payment due, as we're creating a new Customer object we require address information to configure the tax collection for future payments
Ohhhhhhhhhh
Thanks !
And prefelling the billing address is still not possible via the api call right ?
(stripe checkout session create call)
Only with an existing Customer object
Ahh creating the customer upfront and after that creating the checkout session
I see 🙂
That may work, yep
Thank you very much and have I nice weekend !
But yeah as this is a mode: 'subscription' session we need address details to collect tax on the subsequent recurring payments