#roasten-checkout
1 messages Β· Page 1 of 1 (latest)
Hi π sorry, but I'm not sure I'm following what you're trying to do. Would you mind elaborating to help me understand?
when using session and redirect to https://checkout.stripe.com
We have this billing address information
before it got synced with the customer address direct but not not anyone
π stepping in here for toby as they need to step away.
The billing address information that is entered into Checkout will always be associated with the PaymentMethod
That is the email, which does get associated with the Customer.
question: when sending invoice to client, the address information, what is going to be shown? the payment method address or customer address?
I don't believe we ever associated the Billing address to the Customer
For an invoice it will be the Customer address
So how can we get the customer address data in here? Via your own forms
Sorry, I was misremembering. You actually want to use https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer_update-address
And set that to auto
And if you pair that with billing_address_collection: always then you should see the Customer's billing address updated via those billing details as well.
I have 'billing_address_collection' => 'required'
so I should change required to always?
Yeah if you want to force billing address collection regardless of the type of payment method used.
But I think the real issue is that you aren't setting customer_update
according to your documentation its required not always
Since that defaults to never
ok
Right, it isn't always required
But I thought you wanted to force collection, regardless
π
Thanks! You are the hero of the week
β€οΈ