Skip to content

Instantly share code, notes, and snippets.

@kayalshri
Created February 26, 2013 05:47
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 kayalshri/5036194 to your computer and use it in GitHub Desktop.
Save kayalshri/5036194 to your computer and use it in GitHub Desktop.
require('lib/http.php');
require('lib/oauth_client.php');
$client = new oauth_client_class;
$client->server = 'Paypal';
$client->redirect_uri = 'http://'.$_SERVER['HTTP_HOST'].
dirname(strtok($_SERVER['REQUEST_URI'],'?')).'/paypal_login.php';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment