#vincent_best-practices
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1290760480276873266
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
One option is to look at the associated charge object for the PaymentIntent -> the charge object has billing_details param
https://docs.stripe.com/api/charges/object#charge_object-billing_details
ah okay so while the user enters it, there isn't a handy onChagne or somethign so i could push the billing zip to my back end
if that is teh case I will just update my back end handler to not expect billing address.
Hmm unfortunately not all payment method types will require billing address. You can add Address Element to your flow if you'd like to collect address regardless https://docs.stripe.com/elements/address-element
I already have one for shipping address, would the payment element still ask for billing if different if i add another adress element with the mode 'billing'?
Are you referring to the checkbox? I think that checkbox only shows in shipping mode
currently i have an AddressElement right over a PaymentElement
If i added a second AddressElement for billing in the same Elements wrapper, would it still show the billing is same as shipping checkbox?
ah. looks like that does it
Great! ๐