<?php require_once("PayPal-PHP-SDK/autoload.php"); $apiContext = new \PayPal\Rest\ApiContext( new \PayPal\Auth\OAuthTokenCredential( '', // ClientID '' // ClientSecret ) );
info at phpclasses dot org