forked from LiveCarta/PayPal-PHP-SDK
Enabled Payment Experience
- Updated Api to enabled Payment Experience - Updated Tests and Samples - Added Json Validator - Ability for PPModel to return array of self objects
This commit is contained in:
@@ -151,7 +151,8 @@ class PPCredentialManager
|
||||
}
|
||||
|
||||
if (empty($credObj)) {
|
||||
throw new PPInvalidCredentialException("Invalid userId $userId");
|
||||
throw new PPInvalidCredentialException("Credential not found for " . ($userId ? $userId : " default user") .
|
||||
". Please make sure your configuration/APIContext has credential information");
|
||||
}
|
||||
return $credObj;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user