#jimmy-q
1 messages · Page 1 of 1 (latest)
Hi! I have my own UI for add new card to stipe
I using CardCvcElement, CardExpiryElement, CardNumberElement
How can I retrieve the value of the CardNumberElement to display in my UI?
@heady vine
you can't, that would not be PCI compliant
What is PCI?
it's impossible to get the raw card number from our Elements components as raw card numbers are extremely sensitive and your code should never touch them
regulations for how card numbers must be treated(https://stripe.com/docs/security/guide#validating-pci-compliance). Since you are not aware of it , it suffices to say that you should just use Elements and accept that you can't get these raw numbers at all.