catalog/includes/modules/content/account/cm_account_braintree_cards.php 1 location
|
@@ 59-62 (lines=4) @@
|
56 |
|
if ( defined('OSCOM_APP_PAYPAL_BRAINTREE_CC_STATUS') ) { |
57 |
|
$braintree_enabled = true; |
58 |
|
|
59 |
|
if ( OSCOM_APP_PAYPAL_BRAINTREE_CC_STATUS == '0' ) { |
60 |
|
$this->title .= ' [Sandbox]'; |
61 |
|
$this->public_title .= ' (' . $braintree_cc->code . '; Sandbox)'; |
62 |
|
} |
63 |
|
|
64 |
|
if (OSCOM_APP_PAYPAL_BRAINTREE_CC_CC_TOKENS == '0') { |
65 |
|
$braintree_enabled = false; |
catalog/includes/modules/payment/braintree_cc.php 1 location
|
@@ 37-42 (lines=6) @@
|
34 |
|
$this->enabled = defined('OSCOM_APP_PAYPAL_BRAINTREE_CC_STATUS') && in_array(OSCOM_APP_PAYPAL_BRAINTREE_CC_STATUS, array('1', '0')) ? true : false; |
35 |
|
$this->order_status = defined('OSCOM_APP_PAYPAL_BRAINTREE_CC_ORDER_STATUS_ID') && ((int)OSCOM_APP_PAYPAL_BRAINTREE_CC_ORDER_STATUS_ID > 0) ? (int)OSCOM_APP_PAYPAL_BRAINTREE_CC_ORDER_STATUS_ID : 0; |
36 |
|
|
37 |
|
if ( defined('OSCOM_APP_PAYPAL_BRAINTREE_CC_STATUS') ) { |
38 |
|
if ( OSCOM_APP_PAYPAL_BRAINTREE_CC_STATUS == '0' ) { |
39 |
|
$this->title .= ' [Sandbox]'; |
40 |
|
$this->public_title .= ' (' . $this->code . '; Sandbox)'; |
41 |
|
} |
42 |
|
} |
43 |
|
|
44 |
|
$braintree_error = null; |
45 |
|
|