#tehalsingh_22956
1 messages · Page 1 of 1 (latest)
Hi! Are you running into any issues?
yes
What's the issue?
actually i'm creating a charge. when i'm using 3d secure card my charge is failed with status authentication_required. For that i'm creating payment_intent
but i'm not able to authenticate as token or payment_intent goes invalid
i'm using react 16.6.3 and php stripe sdk
so can you please give example of 3d secure authentication for direct charge
Could you please share the PaymentIntent ID pi_xxx?
yes
pi_3NcRXXCwlQr19vlf0sCyuCWq
on the front end my stripe is loaded using platform public api key . but i'm creating direct charge for connected account. so when i'm using the client secret for confirmCardPayment it's not allowed
Your Token object lives on your Platform, that's why you can't use it on your Connected account charge.
How are you creating the token?
i'm using react createToken method
but with the platform key's
how can we create token for connect account
You can use the stripeAccount header: https://stripe.com/docs/connect/authentication
exposing stripe connect id (acct_1KJCBUCwlQr19vlf) in the console is safe or not
Yes, it's fine.
as i'm using react 16.6.3 i have send this account id api's response so that i' can create create token from using this account