forked from LiveCarta/PayPal-PHP-SDK
fixed namespace of PPConfigurationException
the PPConfigurationException class is not in the used \PayPal\Auth namespace
This commit is contained in:
@@ -124,7 +124,7 @@ class OAuthTokenCredential {
|
|||||||
throw new \PPConfigurationException('The mode config parameter must be set to either sandbox/live');
|
throw new \PPConfigurationException('The mode config parameter must be set to either sandbox/live');
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
throw new PPConfigurationException('You must set one of service.endpoint or mode parameters in your configuration');
|
throw new \PPConfigurationException('You must set one of service.endpoint or mode parameters in your configuration');
|
||||||
}
|
}
|
||||||
|
|
||||||
$baseEndpoint = rtrim(trim($baseEndpoint), '/');
|
$baseEndpoint = rtrim(trim($baseEndpoint), '/');
|
||||||
|
|||||||
Reference in New Issue
Block a user