codeigniter で Ci マーチャントを使用していますが、このエラーが発生しました。どうすればよいか教えてください。
public function mypaypal() { echo "mypaypal"; }
public function cancel() { echo "キャンセルされました"; }
パブリック関数インデックス() {
$this->load->library('merchant'); $this->merchant->load('paypal_express'); $settings = array( 'username' => '******', 'password' => '******', 'signature' => '********', 'test_mode' => true ); $this->merchant->initialize($settings); $params = array( 'amount' => 1.00, 'currency' => 'USD', 'return_url' => base_url().'mypaypal', 'cancel_url' => base_url().'cancel'); $response = $this->merchant->purchase($params); var_dump($response); if ($response->success()) { var_dump($response); } else { $message = $response->message(); echo('Error processing payment: '); exit; } }
そして、私はこのエラーを受け取りました:
object(Merchant_response)#17 (8) { ["_status":protected]=> string(6) "failed" ["_message":protected]=> string(51) "SSL CA 証明書に問題があります (path? access rights?)" ["_reference":protected]=> NULL ["_data":protected]=> NULL ["_redirect_url":protected]=> NULL ["_redirect_method":protected]=> string(3) "GET" ["_redirect_message":保護]=> NULL ["_redirect_data":保護]=> NULL }