Deprecated: Optional parameter $handlers declared before required parameter $method is implicitly treated as a required parameter in /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php on line 53
Deprecated: Optional parameter $configs declared before required parameter $prefix is implicitly treated as a required parameter in /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConfig.php on line 286
Fatal error: Uncaught Error: Call to undefined function PayPal\Common\php_uname() in /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalUserAgent.php:29
Stack trace:
#0 /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Handler/RestHandler.php(76): PayPal\Common\PayPalUserAgent::getValue('PayPal-PHP-SDK', '1.2.0')
#1 /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php(71): PayPal\Handler\RestHandler->handle(Object(PayPal\Core\PayPalHttpConfig), '{"intent":"auth...', Array)
#2 /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalResourceModel.php(103): PayPal\Transport\PayPalRestCall->execute(Array, '/v1/payments/pa...', 'POST', '{"intent":"auth...', Array)
#3 /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Api/Payment.php(297): PayPal\Common\PayPalResourceModel::executeCall('/v1/payments/pa...', 'POST', '{"intent":"auth...', NULL, Object(PayPal\Rest\ApiContext), Object(PayPal\Transport\PayPalRestCall))
#4 /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/sample/payments/AuthorizePayment.php(69): PayPal\Api\Payment->create(Object(PayPal\Rest\ApiContext))
#5 /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/sample/payments/VoidAuthorization.php(8): require('/home/harleydia...')
#6 {main}
thrown in /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalUserAgent.php on line 29