php - API credentials are incorrect -


I tried to customize the example with PHP:

   messages received () PHP_EOL;}   

... but I always take it back:

    

I double-checked the API credentials (user, pass and signature) and they are in the form of appearing in the right profile page. I would like to fully X-Paypal-DEVICE-IPADDRESS and X-Paypal-SANDBOX-EMAIL-ADDRESS .

I'm not sure about whether I have done something wrong or left some curl options. What can you do in your code?

Some unbearably, CURLOPT_HTTPHEADER option no Header = & gt; Add value, only takes a list of stars, each of which should be a full HTTP header.

Therefore instead of $ Headers = array ('X-Paypal-Security-USERID' = & gt; PAYPAL_API_USER, ...) you $ headers = array ( 'X-Paypal-SECURITY-USERID:' is required.PAYPAL_API_USER, ...)

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -