#vinoth-kumar_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/1271070491687391244
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
Hello Soma
there's this to disable Apple/Google pay in the Payment Element programatically: https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-wallets
Ok, let me check.
I can see only the Google Pay and Apple pay, how to disable the link?
link can only be disabled in the Stripe dashboard
Ok, is there any other approach to show only the credit card.
you could use the Card Element instead of the Payment Element
and disable link with this: https://docs.stripe.com/js/elements_object/create_element?type=card#elements_create-options-disableLink
Is there any major difference between the card and the payment? Currently all code has been written in payment.
the main advantage of the Payment Element if that you can accept may different payment methods
but if you only want cards:
- use the Payment Element and disable link in the dashboard
- or use the the card element with the
disableLinkparameter
Ok, got it, thanks.
happy to help ๐