Skip to content

Instantly share code, notes, and snippets.

@LarryUllman
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LarryUllman/99a3d43d12dddd0cb1b6 to your computer and use it in GitHub Desktop.
Save LarryUllman/99a3d43d12dddd0cb1b6 to your computer and use it in GitHub Desktop.
Stripe - PHP - Set API Version
// Mmmmmm...Composer for the Stripe PHP library:
require_once('./vendor/autoload.php');
// Set your API key:
Stripe::setApiKey('sk_test_whatever');
// Set the API version to use for these transactions:
Stripe::setApiVersion('2014-06-17');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment