#jedburgh - react native
1 messages ยท Page 1 of 1 (latest)
hey there, what are you trying to do exactly?
This isn't supported as far as I know, but have more detail would help me consider what options are available to you.
so he wants me to do it the same way our web app does it with react native, which is via the createSource method
we get back a source.id from that method after sending card details, and we send that to our backend to attach a new payment method to that customer I guess
yes I didn't think it was supported either but my brother insisted I try haha
No, that's not supported. Instead you'd want to use a Setup Intent to collect the payment details as a Payment Method, eg following this flow:
https://stripe.com/docs/payments/save-and-reuse?platform=react-native&ui=payment-sheet
That "payment sheet" support multiple payment methods in a single integration. If you only want to consider Cards you can optionally use this guide: https://stripe.com/docs/payments/save-and-reuse-cards-only?platform=react-native
right, of course
Setup Intents are for collecting payment details without payment, payment intents are for collecting payments (and optionally saving the details for later)
๐