#lucasalmeida1974_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1438670634866704424
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
The field that I'm talking about.
hi there - I'll be right with you
Alright
okay sorry about that - I don't think the PaymentElement is reading anything off the customer in the way you're expecting - can you try prefilling the email in the you want in the Payment Element's options? https://docs.stripe.com/js/elements_object/update_payment_element#payment_element_update-options-defaultValues-billingDetails-email
Yep, looks like it works... but it's not possible to remove the field right? Like, just show the QR Code.
defaultValues: {
billingDetails: {
email: this.sessionService.getPayload()?.email || undefined,
},
},
};
To be honest, thinking about the flow, just selecting the PIX option and not showing up no field would be great.
I made a footage, just like this would be great... It's possible?
Hi @wide stag I'm taking over this thread