forked from LiveCarta/PayPal-PHP-SDK
Duplicate conditional expression in PayPalCredentialManager.php
Looks like this should be `ClientSecret`?
This commit is contained in:
@@ -96,7 +96,7 @@ class PayPalCredentialManager
|
||||
$key = $prefix . $suffix;
|
||||
$userName = null;
|
||||
while (in_array($key, $arrayPartKeys)) {
|
||||
if (isset($credArr[$key . ".ClientId"]) && isset($credArr[$key . ".ClientId"])) {
|
||||
if (isset($credArr[$key . ".ClientId"]) && isset($credArr[$key . ".ClientSecret"])) {
|
||||
$userName = $key;
|
||||
$this->credentialHashmap[$userName] = new OAuthTokenCredential(
|
||||
$credArr[$key . ".ClientId"],
|
||||
|
||||
Reference in New Issue
Block a user