Skip to content
A simple PHP/JS terminal for making credit card charges with the API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
stripe-php @ 4d782a5 stripe-php submodule Nov 11, 2011
.gitmodules stripe-php submodule Nov 11, 2011 cleaning up readme Nov 11, 2011
background.gif initial files Nov 11, 2011
index.php ocd cleanup (sorry) Nov 19, 2011
layout.css minor css fixes Feb 21, 2012
layout.less minor css fixes Feb 21, 2012

stripe-terminal: A simple credit card terminal for

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


  • Simple javascript validation of data
  • Stripe.js token generation (credit card data doesn't touch your server)
  • Mobile browser friendly


  • Stripe account
  • PHP web environment serving pages via https

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.


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:// .

Then just set $key_publishable and $key_secret in index.php and you're good to go. provides "test" and "live" API keys, you should start with your test keys and refer to the Stripe Testing FAQ.


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

You can’t perform that action at this time.