Warning: Undefined array key "accessToken" in /var/www/html/Sample_REST_PayPal_Commerce/capturePaymentForOrder.php on line 31

Warning: Undefined array key "orderId" in /var/www/html/Sample_REST_PayPal_Commerce/capturePaymentForOrder.php on line 34

Fatal error: Uncaught Error: Call to undefined function curl_init() in /var/www/html/Sample_REST_PayPal_Commerce/capturePaymentForOrder.php:37 Stack trace: #0 {main} thrown in /var/www/html/Sample_REST_PayPal_Commerce/capturePaymentForOrder.php on line 37