@@ -268,7 +268,6 @@ |
||
| 268 | 268 | |
| 269 | 269 | /** |
| 270 | 270 | * Send the previously prepared request, log request and response into the database and return the response |
| 271 | - |
|
| 272 | 271 | * @param PayoneMethod $oPayment |
| 273 | 272 | * @return array |
| 274 | 273 | */ |
@@ -123,12 +123,12 @@ |
||
| 123 | 123 | */ |
| 124 | 124 | public function forwardAsyncRequest($aPostArray, $sUrl) |
| 125 | 125 | { |
| 126 | - // Increased timeout to 5500ms |
|
| 127 | - // See payone-gmbh/magento-2 issue #316 |
|
| 126 | + // Increased timeout to 5500ms |
|
| 127 | + // See payone-gmbh/magento-2 issue #316 |
|
| 128 | 128 | $this->curl->setOption(CURLOPT_TIMEOUT_MS, 5500); |
| 129 | 129 | $this->curl->setOption(CURLOPT_SSL_VERIFYPEER, false); |
| 130 | 130 | $this->curl->setOption(CURLOPT_SSL_VERIFYHOST, false); |
| 131 | - $this->curl->setOption(CURLOPT_FOLLOWLOCATION, true); |
|
| 131 | + $this->curl->setOption(CURLOPT_FOLLOWLOCATION, true); |
|
| 132 | 132 | try { |
| 133 | 133 | $this->curl->post($sUrl, $aPostArray); |
| 134 | 134 | } catch (\Exception $exc) { |