#TD
1 messages · Page 1 of 1 (latest)
hi! at least one of those inputs must be something in your own code that's outside the PaymentElement
if you are collecting the email yourself you should tell the PaymentElement to not collect it: https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-fields-billingDetails-email
and then pass the value you collected when processing the payment : https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-confirmParams-payment_method_data-billing_details
ok but want to hide it like email and name
because we already collected in previous screens
I explained above how to hide inputs within the PaymentElement
sure
This is our mobile app = has a black screen and back ground
so how do we make fields back ground black?
this looks not good
like default payment element
ah sorry, missed the question, it got busy
you can customise it how it looks, see https://stripe.com/docs/elements/appearance-api?platform=web