Skip to content

Instantly share code, notes, and snippets.

Siddarth Chandrasekaran siddarth

Block or report user

Report or block siddarth

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
siddarth / gist:1379745
Created Nov 20, 2011 — forked from gdb/gist:1255035
Stripe PHP simple example
View gist:1379745
require 'path-to-Stripe.php';
if ($_POST) {
$error = '';
$success = '';
try {
if (!isset($_POST['stripeToken']))
throw new Exception("The Stripe Token was not generated correctly");
You can’t perform that action at this time.