Skip to content

Commit a73f803

Browse files
committed
20191210 deployment
1 parent 1fd0393 commit a73f803

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Gateways/Gateway.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ protected function sendRequest(
8383
curl_setopt($request, CURLOPT_CONNECTTIMEOUT, $this->timeout);
8484
curl_setopt($request, CURLOPT_TIMEOUT, $this->timeout);
8585
curl_setopt($request, CURLOPT_RETURNTRANSFER, true);
86-
curl_setopt($request, CURLOPT_SSL_VERIFYPEER, false); //true,);
87-
curl_setopt($request, CURLOPT_SSL_VERIFYHOST, false); //2,);
86+
curl_setopt($request, CURLOPT_SSL_VERIFYPEER, true);
87+
curl_setopt($request, CURLOPT_SSL_VERIFYHOST, 2);
8888
curl_setopt($request, CURLOPT_CUSTOMREQUEST, strtoupper($verb));
8989
curl_setopt($request, CURLOPT_POSTFIELDS, $data);
9090
curl_setopt($request, CURLOPT_HTTPHEADER, $headers);

0 commit comments

Comments
 (0)