PayPal API get payment details using PHP and cURL
Using the following code, I can get the accessToken variable, but I’m not able to get the paymentDetails, it just returns a null value. So in other words the API portion of code is not working. The PayPal API to get the paymentDetails based on the paymentId is not working. Is there a cURL option that is missing?