Stripe gateway integration demo with PHP

1. Create a Stripe account Stripe account and get API keys

Create a Stripe account and login to the dashboard. Navigate through the Developers -> API keys menu to get the API keys. There is two type of standard API keys named secret key and publishable key. The secret key will be masked by default which has to be revealed by clicking reveal key token control explicitly.

$params = array(
    "testmode"   => "on",
    "private_live_key" => "sk_live_xxxxxxxxxxxxxxxxxxxxx",
    "public_live_key"  => "pk_live_xxxxxxxxxxxxxxxxxxxxx",
    "private_test_key" => "sk_test_***************************",
    "public_test_key"  => "pk_test_***************************"