Now I am using coinbase/coinbase php library in laravel project. I tried to get accounts using $client->getAccounts();, But this gives error like following.
Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_RECOVERABLE_ERROR) Argument 1 passed to Coinbase\Wallet\Exception\HttpException::exceptionClass() must be an instance of Psr\Http\Message\ResponseInterface, null given, called in core\vendor\coinbase\coinbase\src\Exception\HttpException.php on line 33
I tried to get error response by checking exception.
cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
This code is normal and it was working 1 year ago without any issue. Is there anyone for this issue? Thank you for everyone's response here.
Try Uploading to Your online server and retry, it might be an issue with Your localhost.
I have experienced it sometime ago, but still fix, I will just upload to my cPanel and try it in production and it will work.