#Morio

1 messages · Page 1 of 1 (latest)

candid trenchBOT
quick whale
#

Hi there!

#

Can you share a Checkout Session ID (cs_xxx) where you see this?

quick whale
#

Thanks! Give me a few minutes to look into this.

stray linden
#

Do you need a promo code to test the behaviour I could pm you one

quick whale
#

Can you also share the 100% promo code s I can reproduce the issue?

stray linden
#

HJIKL0987ULKIO

#

I mean if we can prefill the billing address upfront when creating the checkout session that would also work for us

night path
#

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.

Learn how to automatically calculate taxes in Checkout.

#

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

stray linden
#

Ohhhhhhhhhh

#

Thanks !

#

And prefelling the billing address is still not possible via the api call right ?

#

(stripe checkout session create call)

night path
#

Only with an existing Customer object

stray linden
#

Ahh creating the customer upfront and after that creating the checkout session

#

I see 🙂

night path
#

That may work, yep

stray linden
#

Thank you very much and have I nice weekend !

night path
#

But yeah as this is a mode: 'subscription' session we need address details to collect tax on the subsequent recurring payments