#loterak_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/1219649104695529472
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐ you should confirm client-side unless you have an explicit need that can only be satisfied with a flow that uses server-side confirmation.
Good to know, thank you!
With what I've got currently I'm just having one problem. I'm using both the payment and the address elements. The subscription i'm creating should get taxes, but the customer I created beforehand doesn't have a billing address (since that info is getting gathered as part of the payment process).
How could I access the address data before I confirm the payment intent?
Gotcha, you should be able to get those values using the getValue() function on the address element:
https://docs.stripe.com/js/elements_object/get_value_address_element
Perfect, that should do it. Thank you!!