#Am.D-paymentintent
1 messages · Page 1 of 1 (latest)
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
i am using react native sdk for the client
how can we achieve getting that ? @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?
pi_3L01rcGahl7zcpSg0OlipSSI
@acoustic lance
this is the payment intent i use but in screenshot it got cut:
pi_3L01rcGahl7zcpSg0OlipSSI_secret_KlJJaQEjkxDnqfbLKtt504Jzv
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.
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
But how did you initilaize Stripe.js? Did you use the Stripe-Account header? https://stripe.com/docs/connect/authentication#adding-the-connected-account-id-to-a-client-side-application
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.
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
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
can you also share the link you sent screen shot from ? @acoustic lance
It's the link I shared earlier. Here it is: https://stripe.com/docs/connect/authentication#adding-the-connected-account-id-to-a-client-side-application
You need to click on the "react native" tab.