skip to Main Content

Paypal api – Paypal checkout – order capture get PERMISSION-DEINED from server but works in javascript client

I am working Paypal checkout php sdk. I follow the document from here https://github.com/paypal/Checkout-PHP-SDK First I create an order $env = new SandboxEnvironment($clientId, $secretKey); $client = new PayPalHttpClient($env); $request = new OrdersCreateRequest(); $request->prefer('return=representation'); $request->body = buildOrder($order); //buildOrder has this param:…

VIEW QUESTION
Back To Top
Search