#venu_error
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/1234462589858218006
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
What guide are you following exactly ?
Have you had a chance to download/follow this one?
https://docs.stripe.com/payments/quickstart
Sorry.. just clear I'm using latest version @stripe/stripe-js:3.3.0 and I have following same docs and implementing payment-element for add card in ionic framework.
Cool and what is the issue your are facing exactly now ?
getting error when call stripe.ConfirmPayment method --Error handling card action: IntegrationError: Invalid value for stripe.confirmPayment(): elements should have a mounted Payment Element or Express Checkout Element.
Ionic is a mobile framework
while Stripe Element is a web framework
Stripe doesn't have an official library for Ionic
I can't find a recommended library in the community:
https://docs.stripe.com/libraries/community
@old moon I'll check community library.. can you please review code
I think you're passing a new Elements instance to confirmPayment as opposed to the one you initialised earlier which actually has something mounted to it
How to pass mount element (this.paymentElements = elements.create("payment", paymentElementOptions);) instead of new element instance to confirmPayment??