#cedric2711
1 messages · Page 1 of 1 (latest)
Could you elaborate? AddressElement can only be in either Shipping mode or Billing mode
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
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
payment element will only render the card related fields. Was using CardElement in the implmentation.
the new PaymentElement will render billing address fields
What if i want the PaymentElement to have all card details like CardElement?