catalog/includes/modules/payment/paypal_pro_hs.php 1 location
|
@@ 617-626 (lines=10) @@
|
614 |
|
return $error; |
615 |
|
} |
616 |
|
|
617 |
|
function check() { |
618 |
|
$check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'OSCOM_APP_PAYPAL_HS_STATUS'"); |
619 |
|
if ( tep_db_num_rows($check_query) ) { |
620 |
|
$check = tep_db_fetch_array($check_query); |
621 |
|
|
622 |
|
return tep_not_null($check['configuration_value']); |
623 |
|
} |
624 |
|
|
625 |
|
return false; |
626 |
|
} |
627 |
|
|
628 |
|
function install() { |
629 |
|
tep_redirect(tep_href_link('paypal.php', 'action=configure&subaction=install&module=HS')); |
catalog/includes/modules/payment/paypal_pro_dp.php 1 location
|
@@ 521-530 (lines=10) @@
|
518 |
|
return false; |
519 |
|
} |
520 |
|
|
521 |
|
function check() { |
522 |
|
$check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'OSCOM_APP_PAYPAL_DP_STATUS'"); |
523 |
|
if ( tep_db_num_rows($check_query) ) { |
524 |
|
$check = tep_db_fetch_array($check_query); |
525 |
|
|
526 |
|
return tep_not_null($check['configuration_value']); |
527 |
|
} |
528 |
|
|
529 |
|
return false; |
530 |
|
} |
531 |
|
|
532 |
|
function install() { |
533 |
|
tep_redirect(tep_href_link('paypal.php', 'action=configure&subaction=install&module=DP')); |
catalog/includes/modules/payment/paypal_standard.php 1 location
|
@@ 832-841 (lines=10) @@
|
829 |
|
return false; |
830 |
|
} |
831 |
|
|
832 |
|
function check() { |
833 |
|
$check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'OSCOM_APP_PAYPAL_PS_STATUS'"); |
834 |
|
if ( tep_db_num_rows($check_query) ) { |
835 |
|
$check = tep_db_fetch_array($check_query); |
836 |
|
|
837 |
|
return tep_not_null($check['configuration_value']); |
838 |
|
} |
839 |
|
|
840 |
|
return false; |
841 |
|
} |
842 |
|
|
843 |
|
function install() { |
844 |
|
tep_redirect(tep_href_link('paypal.php', 'action=configure&subaction=install&module=PS')); |
catalog/includes/modules/payment/paypal_express.php 1 location
|
@@ 581-590 (lines=10) @@
|
578 |
|
return false; |
579 |
|
} |
580 |
|
|
581 |
|
function check() { |
582 |
|
$check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'OSCOM_APP_PAYPAL_EC_STATUS'"); |
583 |
|
if ( tep_db_num_rows($check_query) ) { |
584 |
|
$check = tep_db_fetch_array($check_query); |
585 |
|
|
586 |
|
return tep_not_null($check['configuration_value']); |
587 |
|
} |
588 |
|
|
589 |
|
return false; |
590 |
|
} |
591 |
|
|
592 |
|
function install() { |
593 |
|
tep_redirect(tep_href_link('paypal.php', 'action=configure&subaction=install&module=EC')); |