#prattprattpratt_error

1 messages ยท Page 1 of 1 (latest)

pliant monolithBOT
#

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

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

lofty valveBOT
dry current
#

Sorry for the delay here

maiden stump
#

No stress at all

dry current
#

is there a reason you're setting fields.billingDetails: 'never on element creation?
I don't think you need to set that when using AddressElement with PaymentElement

maiden stump
#

Because I don't want the PaymentElement to ask for name, email, phone, and address. Name, email, and phone we already have. Address is captured in AddressElement.

#

Am I misunderstanding that property?

dry current
maiden stump
#

That makes sense, we might have originally added that back when we were capturing address ourselves. Regardless, do you have any idea why we would see this error?

#

Or are you saying maybe just including that "never" is doing something weird?

dry current
#

Yeah I suspect setting fields.billingDetails: 'never' is causing this.
Try removing that and see if that changes things

maiden stump
#

I will try that and see if the error comes up any more.
Can you provide any information on if there any situations in which different billing details would be required?

dry current
#

I believe the billing details depend on the payment method being used. I've mostly seen just email and phone number being required for most payment methods.

maiden stump
#

Hmm gotcha. I'll reach out again if that doesn't fix the issue. Thanks!

dry current
#

๐Ÿ‘