Skip to content

Instantly share code, notes, and snippets.

@yazinsai
Created October 11, 2015 14:59
Show Gist options
  • Save yazinsai/1eb26a1c920fdd1a3278 to your computer and use it in GitHub Desktop.
Save yazinsai/1eb26a1c920fdd1a3278 to your computer and use it in GitHub Desktop.
<?php
$token = $_POST['startToken']; // from Beautiful.js
require_once('./lib/Start.php');
Start::setApiKey("test_sec_k_e06df93760b388375e1f6");
Start_Customer::create(array(
"name" => "Abdullah Ahmed",
"email" => "abdullah@msn.com",
"card" => $token,
"description" => "Signed up at the Trade Show in Dec 2014"
));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment