We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fd0393 commit a73f803Copy full SHA for a73f803
src/Gateways/Gateway.php
@@ -83,8 +83,8 @@ protected function sendRequest(
83
curl_setopt($request, CURLOPT_CONNECTTIMEOUT, $this->timeout);
84
curl_setopt($request, CURLOPT_TIMEOUT, $this->timeout);
85
curl_setopt($request, CURLOPT_RETURNTRANSFER, true);
86
- curl_setopt($request, CURLOPT_SSL_VERIFYPEER, false); //true,);
87
- curl_setopt($request, CURLOPT_SSL_VERIFYHOST, false); //2,);
+ curl_setopt($request, CURLOPT_SSL_VERIFYPEER, true);
+ curl_setopt($request, CURLOPT_SSL_VERIFYHOST, 2);
88
curl_setopt($request, CURLOPT_CUSTOMREQUEST, strtoupper($verb));
89
curl_setopt($request, CURLOPT_POSTFIELDS, $data);
90
curl_setopt($request, CURLOPT_HTTPHEADER, $headers);
0 commit comments