#shaitan1126-cards
1 messages · Page 1 of 1 (latest)
any help?
@silent moss you generally never want to do anything with card details on your server side because it opens you up to a lot of work in maintaining PCI compliance.
If the CVC is wrong then the payment will get declined! (it's a default setting : https://stripe.com/docs/radar/rules#traditional-bank-checks )
No, I just want to validate the card details that all
what specific type of validation?
So the cvv, expiry month year and credit card number should be valid
like if someone pass expiry date which is the past date then
stripe should return an error
that's all checked by Elements
i've the custom form
but you use Elements right?
no
you can't just use a raw HTML form for card numbers.
just taking input from user in a custom form and sending that data on my server
then you should start using Elements instead.
yeah you really can't do that.
read https://stripe.com/docs/security/guide#validating-pci-compliance (the 'API Direct' tab).
Can i use stripe elements in custom form?
yes
any helpfull link?
yes we have a React wrapper for the library(it's covered in that link above, it has React examples)