#talon_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/1282637551508787303
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
this is how it will look like
I don;t want to divert users to checkout page. if possible in our website
hi! well if you know the PaymentMethod ID you can just call https://docs.stripe.com/js/payment_intents/confirm_card_payment#stripe_confirm_card_payment-existing on the frontend and don't have to mount Elements.
the PaymentElement also supports showing saved cards via https://docs.stripe.com/payments/save-during-payment?platform=web&ui=elements#save-payment-methods
and does the same method works on react native?
we doing it for react and react native. we support web/mobile
well the first part works yes [0], the second part doesn't yet but by the end of year we'll hopefully fully release this on mobile(it's the "CustomerSheet" component)
[0] you can pass an existing PaymentMethodID in https://stripe.dev/stripe-react-native/api-reference/modules/PaymentIntent.html#CardParams then into -> https://stripe.dev/stripe-react-native/api-reference/index.html#confirmPayment
that could work yes