I am trying to generate a token using stripe lib and want to validate card for CVC check and other decline rule mention for the card on stripe documentation as below link.
https://stripe.com/docs/testing
Flow of stripe pay
Card Detail | Token Generation (This check only simple card validation and return) | Create payment (Authorization or Auth & Capture) - this validates all decline card rules.
I checked the stripe documentation and it generates token for every card as mention on the testing document. https://stripe.com/docs/testing
Demo code that I used - http://www.ilovephp.net/php/stripe-payment-gateway-integration-in-php-with-demo-examples/
on this example and decline rules working. But I want to generate a token on the server side with decline rules as working while the charge on the example.