Fixing Breaking Changes in ItemList

This commit is contained in:
japatel
2014-10-14 16:54:43 -05:00
parent dc2ac0fd63
commit 89855f4624
18 changed files with 632 additions and 75 deletions

View File

@@ -0,0 +1,20 @@
<?php
require __DIR__ . '/../bootstrap.php';
$baseUrl = getBaseUrl() . '/UserConsentRedirect.php?success=true';
//Get User Consent
// The clientId is stored in the bootstrap file
$redirectUrl = \PayPal\Auth\Openid\PPOpenIdSession::getAuthorizationUrl(
$baseUrl,
array('profile', 'email', 'phone'),
$clientId,
null,
null,
$apiContext
);
header("Location: $redirectUrl");
exit;