#ovidiu-Payment
1 messages · Page 1 of 1 (latest)
Hey, thanks
No, this use case is for a flow where we're trying to confirm payment with a card that's already been set up. It would be nice if we could get our users to confirm their CVC
On web, payment_method_options.card.cvc can be set and we can use StripeCardCvcElement to securely get the CVC
const cvc: StripeCardCvcElement | null = elements.getElement(CardCvcElement)
that's not how confirmPayment works though
Which part of my flow is wrong? At the moment we pass the clientSecret and { paymentMethodId, type: 'Card' }
Understood, and how do I collect the CVC?
using the StripeCardCvcElement
Documentation for @stripe/stripe-react-native
and passing FieldName as "Cvc"
Thanks!
let me know if you need any more help
Is CardFieldInput not a component?
TS2604: JSX element type 'CardFieldInput' does not have any construct or call signatures. on the latest version
I can only see CardField in the components folder, am I missing something?
https://github.com/stripe/stripe-react-native/tree/master/src/components
Indeed, there's no component just for CVC collection
How do you suggest we recollect a CVC in that case, then?
Seems we recommend just collecting that in a regular field
It's not particularly sensitive when it's collected without any other card data (number, etc) in this case