Im using CI Merchant library in Codeigniter, below is the error message im getting after var_dump on $response
protected '_status' => string 'failed' (length=6)
protected '_message' => string 'SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed' (length=146)
Below is my code
$this->merchant->load('paypal_express');
$settings = array(
'username' => 'testaccount',
'password' => 'accountpassword',
'signature' => 'storename',
'test_mode' => true
);
$this->merchant->initialize($settings);
//redirect to success/failure of transaction
$params = array(
'amount' => $amount,
'currency' => $currency,
'return_url' => site_url('membership/complete/'.$memberid),
'cancel_url' => site_url('membership/fail')
); /**/
$response = $this->merchant->purchase_return($params);
What could be wrong? Thank you in advance