#ag_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/1318919202353975328
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
you need to confirm the paymentIntent on the mobile side
using the PaymentSheet
why?
how else would you get the payment details?
as in express server I just hit the api and payment becomes seccussfull everything is same in nestJs
we are already confirming it
where?
on Frontend side
and on the mobile side?
We are using Ionic react js. It works for both mobile and web
you can't use Stripe.js for mobile
you need to use different components for different targets
for web you need to map your component to the PaymentElement (Stripe.js)
yes but what is the converted component when targeting Android or iOS?
if Ionic is only creating a WebView version of your website, this won't work
it has to convert to a native app
Actually we implemented using express js and it worked fine with the same stripe capacitor
but when we are using nestjs it is not working. we just changed the backend url on our app and for express js server case it worked the payment got successfull but while create payment intent from nestjs backend it proceed the payment but the payment still gets incomplete. can you please check the logs if i provide you my payment id and customer id?
yes please
pi_3QXKdXJlM23EsmRT1JUrTQpf
cus_RQAzlC61mVdqp8
here it is. i want you to tell me if it is this payment is payed from our frontend or not. please tell us if there is anything wrong
the payment wasn't confirmed
https://github.com/capacitor-community/stripe
this is what we are using on mobile app
was it initiated from our mobile app or not?
thanks let me review my implementation once again. and i will get back to you if i need assistance