#Erik Magnusson
1 messages ยท Page 1 of 1 (latest)
Hi, can you share an example request here? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
I'll try to get you one. Otherwise this is the id of an example intent.
pi_3Mm1EeGhEfJL7yAW1E1nPRzi
req_BEUsvN8VCnbd5l
Should be this one
So looking at that PaymentIntent - the reason it's not attaching the PaymentMethod to the customer is because you don't set setup_future_usage on the PI (https://stripe.com/docs/api/payment_intents/create#create_payment_intent-setup_future_usage)
That seems to do it! Thanks!
Would you have an answer for the second question?
I just created a user an the pm was attached. When I'm trying to create a new intent with the ids of these two. The paymentsheet still asks me to provide card details
Yeah still looking for that one - give me a minute
Sorry yeah i'm still looking ๐
Thanks ๐
So from what I can tell there's no way to do this with the PaymentSheet, but you can use confirmPayment (https://stripe.dev/stripe-react-native/api-reference/index.html#confirmPayment) directly with that PaymentIntent to confirm it
Will confirm payment also handle 3d secure cases?
Yup!
Okay ๐ Well that's great. Thanks ๐
happy to help!