Paypal SDK V6 access_token with PHP server side

3 weeks ago 14
ARTICLE AD BOX

PHP server code appears to be getting a valid Paypal access_token using client id and secret obtained from Paypal. Then when php echoes the access_token back to the client fetch it has changed to what appears to be a json array/object of type 'basic', not the access token echoed.

Getting no errors other than Paypal SDK failed to initialize. This is expected since the clientId/access_token have morphed into something else.

The php curl call returns with code 200, success.

Paypal SDK V6:

Read Entire Article