catalog/includes/apps/braintree/OSCOM_Braintree.php 1 location
|
@@ 339-341 (lines=3) @@
|
336 |
|
curl_setopt($curl, CURLOPT_POSTFIELDS, $parameters); |
337 |
|
} |
338 |
|
|
339 |
|
if ( isset($headers) && is_array($headers) && !empty($headers) ) { |
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']); |
catalog/includes/apps/paypal/OSCOM_PayPal.php 1 location
|
@@ 412-414 (lines=3) @@
|
409 |
|
curl_setopt($curl, CURLOPT_POSTFIELDS, $parameters); |
410 |
|
} |
411 |
|
|
412 |
|
if ( isset($headers) && is_array($headers) && !empty($headers) ) { |
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']); |