#Reinhardt
1 messages · Page 1 of 1 (latest)
What do you mean by "create elements directly"? You always use stripe.js to create Elements
For getting card details it seems so
However, for External Accounts it doesn't seem necessary
Is there an equivalent to stripe.elements for React Native?
Ahhh, okay I understand your question now. I don't think there's a way to get around fetching server side functions for creating elements in most cases
Does that mean that the only options for recording credit card details for later payments are still only. the CardField and CardForm?
As far as I know, there's the Payment Element: https://stripe.com/docs/payments/accept-a-payment?platform=react-native&ui=payment-sheet
And the Card Element: https://stripe.com/docs/payments/accept-a-payment?platform=react-native&ui=custom
Thanks.
unfortunately we don't need the full payment element in our current workflow as we aren't processing a payment at the point at which we record the credit card details
Ahhhh, okay. Then you just want to save the Payment Method for future usage?
There's React native specific docs on this here: https://stripe.com/docs/payments/save-and-reuse
that seems to still use the Payment Sheet element
Yup, I don't think there's a way around that
ok so I think the option that best covers my use case is this one:
https://stripe.com/docs/payments/accept-a-payment?platform=react-native&ui=custom
good to know
Thanks for clarifying!