Creating Order... Links: self: https://api.paypal.com/v2/checkout/orders/3P80597768767233K Call Type: GET approve: https://www.paypal.com/checkoutnow?token=3P80597768767233K Call Type: GET update: https://api.paypal.com/v2/checkout/orders/3P80597768767233K Call Type: PATCH authorize: https://api.paypal.com/v2/checkout/orders/3P80597768767233K/authorize Call Type: POST Created Successfully Copy approve link and paste it in browser. Login with buyer account and follow the instructions. Once approved hit enter... Authorizing Order...
Fatal error: Uncaught PayPalHttp\HttpException: {"name":"UNPROCESSABLE_ENTITY","details":[{"issue":"ORDER_NOT_APPROVED","description":"Payer has not yet approved the Order for payment. Please redirect the payer to the 'rel':'approve' url returned as part of the HATEOAS links within the Create Order call or provide a valid payment_source in the request."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"08f042b972db3","links":[{"href":"https://developer.paypal.com/api/rest/reference/orders/v2/errors/#ORDER_NOT_APPROVED","rel":"information_link","method":"GET"}]} in /home/tidwtybx/amtrakticketbook.com/demo/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpClient.php:222 Stack trace: #0 /home/tidwtybx/amtrakticketbook.com/demo/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpClient.php(103): PayPalHttp\HttpClient->parseResponse(Object(PayPalHttp\Curl)) #1 /home/tidwtybx/amtrakticketbook.com/demo/samples/AuthorizeIntentExamples/AuthorizeOrder.php(31): PayPalHttp in /home/tidwtybx/amtrakticketbook.com/demo/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpClient.php on line 222