#seeker_paymentelement-address

1 messages ¡ Page 1 of 1 (latest)

pure bearBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1246204386804371519

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

unborn folio
#

Setting the fields 'address' option on the Payment Element to never (it still renders the address fields that I can not extract)
it should not do that.

Sorry I think you went down a rabbit hole here but that was likely based on an incorrect assumption. If you want to calculate tax based on the customer's address you need to first collect the address

zenith zenith
unborn folio
#

Is there any way for us to allow Payment Element to not collect the address
yes by passing the never option

zenith zenith
#

Ahh, I missed that the address field was a subsection of billingDetails!! We're good now. Thanks!!

unborn folio
#

Sure thing!