cancel
Showing results for 
Search instead for 
Did you mean: 

Sandbox: unable to get local issuer certificate for PayPal Checkout

Highlighted
Contributor

Sandbox: unable to get local issuer certificate for PayPal Checkout

Hello,

I am attempting to use PayPal checkout along side my already set-up payment gateway. The client side integration seems to be working fine, however, when trying to execute the payment and calling on a PHP file to store my data into a SQL database, however, I receive this error when the file is called. 

Fatal error: Uncaught BraintreeHttp\IOException: SSL certificate problem: unable to get local issuer certificate in C:\wamp64\www\site\vendor\braintree\braintreehttp\lib\BraintreeHttp\HttpClient.php on line 167

and  

BraintreeHttp\IOException: SSL certificate problem: unable to get local issuer certificate in C:\wamp64\www\BFM\vendor\braintree\braintreehttp\lib\BraintreeHttp\HttpClient.php on line 167

 

. Everything here is on the sandbox. The Sandbox does log the payment,however, This error prevents me to log this into my database. 

This is the php file the javascript redirects the onApprove functions to the code from "2. Server side"

https://developer.paypal.com/docs/checkout/integrate/#6-verify-the-transaction

 

I did install the composer sdk, and included a config file that has the appropriate api keys. 

I greatly appreciate any help.