#ag_error

1 messages ยท Page 1 of 1 (latest)

drowsy meadowBOT
#

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

snow carbon
#

๐Ÿ‘‹ happy to help

#

you need to confirm the paymentIntent on the mobile side

#

using the PaymentSheet

summer minnow
#

why?

snow carbon
#

how else would you get the payment details?

summer minnow
#

as in express server I just hit the api and payment becomes seccussfull everything is same in nestJs

summer minnow
snow carbon
#

where?

summer minnow
#

on Frontend side

snow carbon
#

and on the mobile side?

summer minnow
#

We are using Ionic react js. It works for both mobile and web

snow carbon
#

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)

summer minnow
#

we are using stripe capaitor for that purpose

#

Ionic provides it

snow carbon
#

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

summer minnow
#

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?

snow carbon
#

yes please

summer minnow
#

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

snow carbon
#

the payment wasn't confirmed

summer minnow
summer minnow
snow carbon
#

the creation is initiated on your server

#

which is what's expected

summer minnow
#

thanks let me review my implementation once again. and i will get back to you if i need assistance