catalog/includes/apps/braintree/OSCOM_Braintree.php 1 location
|
@@ 206-210 (lines=5) @@
|
203 |
|
'OSCOM_APP_PAYPAL_BRAINTREE_' . $server . 'PUBLIC_KEY', |
204 |
|
'OSCOM_APP_PAYPAL_BRAINTREE_' . $server . 'PRIVATE_KEY'); |
205 |
|
|
206 |
|
foreach ( $creds as $c ) { |
207 |
|
if ( !defined($c) || (strlen(trim(constant($c))) < 1) ) { |
208 |
|
return false; |
209 |
|
} |
210 |
|
} |
211 |
|
|
212 |
|
return true; |
213 |
|
} |
catalog/includes/apps/paypal/OSCOM_PayPal.php 2 locations
|
@@ 204-208 (lines=5) @@
|
201 |
|
'OSCOM_APP_PAYPAL_' . $server . '_API_SIGNATURE'); |
202 |
|
} |
203 |
|
|
204 |
|
foreach ( $creds as $c ) { |
205 |
|
if ( !defined($c) || (strlen(trim(constant($c))) < 1) ) { |
206 |
|
return false; |
207 |
|
} |
208 |
|
} |
209 |
|
|
210 |
|
return true; |
211 |
|
} |
|
@@ 250-254 (lines=5) @@
|
247 |
|
'OSCOM_APP_PAYPAL_' . $server . '_API_SIGNATURE'); |
248 |
|
} |
249 |
|
|
250 |
|
foreach ( $creds as $c ) { |
251 |
|
if ( !defined($c) || (strlen(trim(constant($c))) < 1) ) { |
252 |
|
return false; |
253 |
|
} |
254 |
|
} |
255 |
|
|
256 |
|
return true; |
257 |
|
} |