#cedric2711

1 messages · Page 1 of 1 (latest)

elder raftBOT
quasi cypress
#

Could you elaborate? AddressElement can only be in either Shipping mode or Billing mode

stark verge
#

I have a screen which requires me to collect two sets address

#

Was trying to render two Address elements in the form and got an error

#

this is what was attempted

quasi cypress
#

It's to use Address Element to collect Shipping Address, and The Payment Element to collect billing address

#

So if you use Address Element alongside with PaymentElement, you will have the behavior you wanted

stark verge
#

payment element will only render the card related fields. Was using CardElement in the implmentation.

quasi cypress
#

the new PaymentElement will render billing address fields

stark verge
#

What if i want the PaymentElement to have all card details like CardElement?