forked from LiveCarta/PayPal-PHP-SDK
Update lib/PayPal/Rest/RestHandler.php
Updating namespace of PPConfiguration exception thrown by the handler
This commit is contained in:
@@ -66,11 +66,11 @@ class RestHandler implements \IPPHandler {
|
|||||||
return \PPConstants::REST_LIVE_ENDPOINT;
|
return \PPConstants::REST_LIVE_ENDPOINT;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
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');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} 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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user