#Jamie-element
1 messages · Page 1 of 1 (latest)
Hi! Some fields can be hidden by passing options when creating the Element as explained here: https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-fields
However note that:
If you disable the collection of a certain field with the fields option, you must pass that same data to stripe.confirmPayment or the payment will be rejected.
What does it mean by postalCode
'never' | 'auto'?
That means by default its auto and we can change it to never?
and can we use the stripe elements ui to prestore card details for faster payments in the future?
There are two possible values: auto (Element will decide to display it or not based on the payment method selected), never (Element will never display that field)/
and can we use the stripe elements ui to prestore card details for faster payments in the future?
What do you mean? With Stripe you can save payment method for future usage. However you cannot pre-fill the Element with an existing payment method.
Yes, I mean we could store a card for quick checkout. Rather than asking them to input time and time again.
Yes you could save the card, and use that for payments. However Element itself can't be prefilled, so you would need a custom UI to show and select the saved cards.