#Am.D-paymentintent

1 messages · Page 1 of 1 (latest)

acoustic lance
vivid wigeon
#

i am using react native sdk for the client
how can we achieve getting that ? @acoustic lance

acoustic lance
#

If you wan't find the request ID, can you copy/paste the PaymentIntent ID that is visible in the scheenshot you shared?

vivid wigeon
#

pi_3L01rcGahl7zcpSg0OlipSSI
@acoustic lance

#

this is the payment intent i use but in screenshot it got cut:
pi_3L01rcGahl7zcpSg0OlipSSI_secret_KlJJaQEjkxDnqfbLKtt504Jzv

acoustic lance
#

This PaymentIntent was created by the platform account (acct_1IoOepGVHrsPGf1M) on the connected account (acct_1KyD9wGahl7zcpSg) with the Stripe-Account header.
So when you want to confirm the PaymentIntent, you have to do exactly the same.

vivid wigeon
#

is it a backend related issue?
coz i am getting only a single Client Secret and nothing more
@acoustic lance

#

as you can see here , the only parameter i am passing to confirmPayment is the client secret i got from backend

acoustic lance
vivid wigeon
#

no

#

this is how its initilized

acoustic lance
#

Like I said earlier, the creation and confirmation request need to be done the same way. Since you used the Stripe-Account header to create the PaymentIntent, you also need to use it to confirm it.

vivid wigeon
#

import { StripeProvider } from '@stripe/stripe-react-native';
and wrap my whole app @acoustic lance

#

how can it be done with React Native client ?
or how can we change backend for this ? @acoustic lance

acoustic lance
#

or how can we change backend for this ? @acoustic lance
You don't need to change the backend

#

how can it be done with React Native client ?
This is shows in the link I shared

vivid wigeon
#

can you also share the link you sent screen shot from ? @acoustic lance

acoustic lance
#

You need to click on the "react native" tab.