#jedburgh-react-native

1 messages · Page 1 of 1 (latest)

olive quiver
alpine spire
#

Hi koopajah. I know there is a CardForm component but there are now guides or anything on how to use that

olive quiver
#

Add the CardField component to your payment screen to securely collect card details from your customers. Use the onCardChange callback to inspect non-sensitive information about the card, like the brand, and whether the details are complete.

#

is this what you are looking for?

alpine spire
#

okay, so I can check if details are complete somehow with onCardChange callback?

#

okay I think I get it

alpine spire
#

the onCardChange function sets cardDetails to undefined probably if they change and arent complete

#

thanks a lot man