Returns the PayPal URL to which the user must be redirected to
start the authentication / authorization process.
public static getAuthorizationUrl ( string $redirectUri, array $scope, string $clientId, null $nonce = null, null $state = null, |
||
$redirectUri | string | Uri on merchant website to where the user must be redirected to post paypal login |
$scope | array | The access privilges that you are requesting for from the user. Pass empty array for all scopes. |
$clientId | string | client id from developer portal See https://developer.paypal.com/webapps/developer/docs/integration/direct/log-in-with-paypal/detailed/#attributes for more |
$nonce | null | |
$state | null | |
$apiContext | Optional API Context | |
리턴 | string | Authorization URL |