Skip to content

Instantly share code, notes, and snippets.

⭐️
Coding

Arun Shah ameeno

⭐️
Coding
  • London UK
Block or report user

Report or block ameeno

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
@ameeno
ameeno / index.php
Created Sep 6, 2018 — forked from amfeng/index.php
Stripe OAuth Example -- PHP
View index.php
<?php
define('CLIENT_ID', 'YOUR_CLIENT_ID');
define('API_KEY', 'YOUR_API_KEY');
define('TOKEN_URI', 'https://connect.stripe.com/oauth/token');
define('AUTHORIZE_URI', 'https://connect.stripe.com/oauth/authorize');
if (isset($_GET['code'])) { // Redirect w/ code
$code = $_GET['code'];
You can’t perform that action at this time.