Skip to content

Instantly share code, notes, and snippets.

@jkuemerle
Created October 15, 2012 04:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkuemerle/3890759 to your computer and use it in GitHub Desktop.
Save jkuemerle/3890759 to your computer and use it in GitHub Desktop.
Payment Processing Top
<?php
require_once("Stripe.php");
Stripe::setApiKey('<secret key>');
$name = htmlspecialchars($_POST["name"]);
$address1 = htmlspecialchars($_POST["address1"]);
$city = htmlspecialchars($_POST["city"]);
$state = htmlspecialchars($_POST["state"]);
$zip = htmlspecialchars($_POST["zip"]);
$email = htmlspecialchars($_POST["email"]);
$stripeToken = htmlspecialchars($_POST["stripeToken"]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment