#rashonk_unexpected

1 messages ยท Page 1 of 1 (latest)

timid fjordBOT
#

๐Ÿ‘‹ 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/1225829190901694506

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

azure fogBOT
lethal marsh
#

Hi ๐Ÿ‘‹ shipping address is a requirement for some payment method types that the Payment Element can't directly handle collecting. You will need to collect those details on the side when required to do so. You can use our Address Element in shipping mode to help with that.

The Payment Element's change Events will tell you what Payment Method has been selected within the value field they include:
https://docs.stripe.com/js/element/events/on_change?type=paymentElement#element_on_change-handler-value
You can hook on that to know when to display a shipping address form to your customers.