#dmilic_best-practices

1 messages ยท Page 1 of 1 (latest)

pastel widgetBOT
#

๐Ÿ‘‹ 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/1329372789060141107

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

tiny raptor
#

๐Ÿ‘‹ happy to help

#

instead of using the CardNumberElement, why not just use the PaymentElement with only 'card' as the type

#

and you can disable the wallets so GooglePay and Apple Pay won't be presented in the PaymentElement

flint bolt
#

That sounds good. If we decide to remove ExpressCheckoutElement and use only PaymentElement for everything, is there any downside for that ?

tiny raptor
#

no, not at all

#

it's just about aesthetics

#

both work similarly

flint bolt
#

Alright, thank you for your help! I will speak with my team and we will decide how to proceed. Have a nice day !