Skip to content

Instantly share code, notes, and snippets.

@matthewarkin
Created October 3, 2015 04:00
Show Gist options
  • Save matthewarkin/8d079aaf28405cdb1f5f to your computer and use it in GitHub Desktop.
Save matthewarkin/8d079aaf28405cdb1f5f to your computer and use it in GitHub Desktop.
<?php
namespace myNamespace;
ini_set('display_errors',1);
ini_set('display_startup_errors',1);
error_reporting(-1);
echo "hi";
require_once('vendor/autoload.php');
\Braintree_Configuration::environment('sandbox');
\Braintree_Configuration::merchantId('jpqc7f4drntc3z7g');
\Braintree_Configuration::publicKey('5jhh2342w8mf83pc');
\Braintree_Configuration::privateKey('private key');
$clientToken = \Braintree_ClientToken::generate();
echo $clientToken;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment