getAccessToken function in V3 api is not working in server

Participant

getAccessToken function in V3 api is not working in server

getAccessToken function in V3 api is not working in my server.
I created the authorization code and then call the function
getAccessToken ($redirectURI, $clientId, $clientSecret, $code).

In local (localhost) it is working and I got the access token. But in server the function gives boolean false.

 

curl_error gives:

SSL certificate problem: unable to get local issuer certificate


Note: Both local machine and server are php 7

1 REPLY 1
Moderator

Hello @user620331,

 

Thank you for reaching out to Constant Contact's API Support.

 

Our v3 API requires TLS 1.2 so this error indicates that your website is not using the correct level of security.


Regards,
Jimmy D.
Tier II API Support Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page