#weirdlemon-react-native
1 messages · Page 1 of 1 (latest)
Hello! Give me a few minutes to check on that for you
From what I can see, there isn't a way to use your own custom component and pass the collected values into confirmPayment from our React Native library
Is there any other alternative?
Not any easy ones that I know of - I know the older tipsi library supported this, but I don't think it's actively maintained anymore. Is there a specific reason you need this?
Yeah, kind of
I need the user to pre-select the cards from their already existing card data on the checkout screen
Are these existing cards that have already been saved as Payment Methods in Stripe?
Yeah, that won't work with our React Native library. Since you already have those in your DB/server-side your best option would be to create create Payment Methods from the raw card info through server-side requests instead
Can you point me towards some documents maybe on how can I do this? For node
Give me one minute! Sorry for the wait - a lot of folks here today
Sure
So we don't have specific guides for this flow, but you can see a quick snippet of how you'd use the raw card details to create a PM here: https://stripe.com/docs/api/payment_methods/create
Also just want to check - is your setup PCI compliant?
Also wanted to know one more thing
If let's say I use the cardField component
Can i populate the fields of that component automatically and thus use the verification provided by stripe
And keep the CardField disabled too?
Yeah