Generates a sample token from test credit cards provided by stripe
- Setup an account on Stripe
- Clone repo using
git clone https://github.com/mmubasher/stripe-cardtoken-generator.git
- Get Publishable key from API keys in your Stripe Dashboard and place it in
Stripe.setPublishableKey('Your key here');
- Point your browser to code index.php file url forexample http://localhost/