catalog/includes/modules/payment/moneybookers.php 1 location
|
@@ 661-663 (lines=3) @@
|
| 658 |
|
$server['path'] = '/'; |
| 659 |
|
} |
| 660 |
|
|
| 661 |
|
if (isset($server['user']) && isset($server['pass'])) { |
| 662 |
|
$header[] = 'Authorization: Basic ' . base64_encode($server['user'] . ':' . $server['pass']); |
| 663 |
|
} |
| 664 |
|
|
| 665 |
|
if (function_exists('curl_init')) { |
| 666 |
|
$curl = curl_init($server['scheme'] . '://' . $server['host'] . $server['path'] . (isset($server['query']) ? '?' . $server['query'] : '')); |
catalog/includes/apps/braintree/OSCOM_Braintree.php 1 location
|
@@ 343-345 (lines=3) @@
|
| 340 |
|
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); |
| 341 |
|
} |
| 342 |
|
|
| 343 |
|
if ( isset($server['user']) && isset($server['pass']) ) { |
| 344 |
|
curl_setopt($curl, CURLOPT_USERPWD, $server['user'] . ':' . $server['pass']); |
| 345 |
|
} |
| 346 |
|
|
| 347 |
|
if ( defined('OSCOM_APP_PAYPAL_BRAINTREE_VERIFY_SSL') && (OSCOM_APP_PAYPAL_BRAINTREE_VERIFY_SSL == '1') ) { |
| 348 |
|
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true); |
catalog/includes/apps/paypal/OSCOM_PayPal.php 1 location
|
@@ 414-416 (lines=3) @@
|
| 411 |
|
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); |
| 412 |
|
} |
| 413 |
|
|
| 414 |
|
if ( isset($server['user']) && isset($server['pass']) ) { |
| 415 |
|
curl_setopt($curl, CURLOPT_USERPWD, $server['user'] . ':' . $server['pass']); |
| 416 |
|
} |
| 417 |
|
|
| 418 |
|
if ( defined('OSCOM_APP_PAYPAL_VERIFY_SSL') && (OSCOM_APP_PAYPAL_VERIFY_SSL == '1') ) { |
| 419 |
|
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true); |