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
|
@@ 416-418 (lines=3) @@
|
413 |
|
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); |
414 |
|
} |
415 |
|
|
416 |
|
if ( isset($server['user']) && isset($server['pass']) ) { |
417 |
|
curl_setopt($curl, CURLOPT_USERPWD, $server['user'] . ':' . $server['pass']); |
418 |
|
} |
419 |
|
|
420 |
|
if ( defined('OSCOM_APP_PAYPAL_VERIFY_SSL') && (OSCOM_APP_PAYPAL_VERIFY_SSL == '1') ) { |
421 |
|
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true); |