#Aaron8646 - PaymentElement billing details

1 messages · Page 1 of 1 (latest)

random pine
#

Do you just want to hide some fields?

hoary badge
#

yup

#

country and zip code (as I understand, these aren't actually necessary for processing credit card payments)

random pine
#

Let me check this with a colleague as I don't know how this is done in React

hoary badge
#

awesome, thanks!

random pine
#

Can you try this: <PaymentElement options={ fields: {billingDetails: { name: 'never' }}} />

#

I think that's how you can achieve it

hoary badge
#

yup, that worked!

#

thanks

random pine
#

No problem!