Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PPL-158 #194

Merged
merged 1 commit into from
Apr 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions samples/rest/identity/GetUserConsentURL.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@

$redirectUri = $domain.'samples/rest/identity/UserConsentRedirect.php?success=true'; // Uri on merchant website to where the user must be redirected to post paypal login

// @param array $scope The access privilges that you are requesting for from the user. Pass empty array for all scopes.
// If you want some basic information then you just need to include 'openid', 'profile', 'address', 'email', 'phone' in the scope.
// If you want to special permission from the user then you need to include paypalattributes,expresscheckout and invoicing in the scope.
// @param array $scope The access privileges that you are requesting for from the user. Pass empty array for all scopes.
// If you want some basic information then you just need to include 'openid', 'profile', 'address', 'email' in the scope.
// If you want to special permission from the user then you need to include paypalattributes and invoicing in the scope.

$Scope = array('openid', 'profile', 'address', 'email', 'phone',
$Scope = array('openid', 'profile', 'address', 'email',
'https://uri.paypal.com/services/paypalattributes',
'https://uri.paypal.com/services/expresscheckout',
'https://uri.paypal.com/services/invoicing');

$requestData = array(
Expand Down