wlrs / stripe-terminal

A simple PHP/JS terminal for making credit card charges with the stripe.com API
26 stars 5 forks source link

stripe-terminal: A simple credit card terminal for Stripe.com

stripe-terminal is a single form that allows anyone with a Stripe.com account to submit credit card charges from any web browser.

Features

Requirements

Stripe accounts are free but require a US-based checking account to actually create charges. Test charges can be made from a page served over http.

Installation

Just clone this repo into a clean directory. stripe-php is included as a submodule so using the --recursive flag will get you everything:

git clone --recursive git://github.com/wlrs/stripe-terminal.git .

Then just set $key_publishable and $key_secret in index.php and you're good to go.

Stripe.com provides "test" and "live" API keys, you should start with your test keys and refer to the Stripe Testing FAQ.

Demo

https://wlrs.net/stripe-terminal/demo/

The demo is running in test mode, but please don't submit real credit card information.