PHP library for the Stripe API
PHP 5.6
You can install via Composer. Run the following command: composer require stripe/stripe-php
require_once('vendor/autoload.php');
require_once('vendor/stripe/stripe-php/init.php');
Check the index.php for credit card payment.
Change the Stripe Secret Key in line number 48 in index.php
\Stripe\Stripe::setApiKey("YOUR_SECRET_KEY_HERE");
Please use for test credit card