Skip to content

Latest commit

 

History

History
executable file
·
30 lines (18 loc) · 556 Bytes

README.md

File metadata and controls

executable file
·
30 lines (18 loc) · 556 Bytes

Stripe PHP Example customized from Stripe PHP

Getting Started

Sign up for a Stripe account at https://stripe.com to get the keys.

Simple usage looks like:

Check that you have next entry in composer.json file.

{
    "require": {
        "stripe/stripe-php": "4.12.0"
    }
}
composer install

Login to your Stripe account and get the private and public keys.

Modify the keys in stripe_config.php and set $testmode "on" or "off"

Run it in your browser: http://localhost/stripe