catalog/includes/modules/payment/sage_pay_direct.php 1 location
|
@@ 1028-1036 (lines=9) @@
|
| 1025 |
|
return $OSCOM_Db->delete('customers_sagepay_tokens', ['id' => $token_id, 'customers_id' => $_SESSION['customer_id'], 'sagepay_token' => $token]) === 1; |
| 1026 |
|
} |
| 1027 |
|
|
| 1028 |
|
function loadErrorMessages() { |
| 1029 |
|
$errors = array(); |
| 1030 |
|
|
| 1031 |
|
if (is_file(dirname(__FILE__) . '/../../../ext/modules/payment/sage_pay/errors.php')) { |
| 1032 |
|
include(dirname(__FILE__) . '/../../../ext/modules/payment/sage_pay/errors.php'); |
| 1033 |
|
} |
| 1034 |
|
|
| 1035 |
|
$this->_error_messages = $errors; |
| 1036 |
|
} |
| 1037 |
|
|
| 1038 |
|
function getErrorMessageNumber($string) { |
| 1039 |
|
if (!isset($this->_error_messages)) { |
catalog/includes/modules/payment/sage_pay_form.php 1 location
|
@@ 541-549 (lines=9) @@
|
| 538 |
|
return mcrypt_decrypt(MCRYPT_RIJNDAEL_128, MODULE_PAYMENT_SAGE_PAY_FORM_ENCRYPTION_PASSWORD, $string, MCRYPT_MODE_CBC, MODULE_PAYMENT_SAGE_PAY_FORM_ENCRYPTION_PASSWORD); |
| 539 |
|
} |
| 540 |
|
|
| 541 |
|
function loadErrorMessages() { |
| 542 |
|
$errors = array(); |
| 543 |
|
|
| 544 |
|
if (is_file(dirname(__FILE__) . '/../../../ext/modules/payment/sage_pay/errors.php')) { |
| 545 |
|
include(dirname(__FILE__) . '/../../../ext/modules/payment/sage_pay/errors.php'); |
| 546 |
|
} |
| 547 |
|
|
| 548 |
|
$this->_error_messages = $errors; |
| 549 |
|
} |
| 550 |
|
|
| 551 |
|
function getErrorMessageNumber($string) { |
| 552 |
|
if (!isset($this->_error_messages)) { |
catalog/includes/modules/payment/sage_pay_server.php 1 location
|
@@ 538-546 (lines=9) @@
|
| 535 |
|
return number_format(tep_round($number * $currency_value, $currencies->currencies[$currency_code]['decimal_places']), $currencies->currencies[$currency_code]['decimal_places'], '.', ''); |
| 536 |
|
} |
| 537 |
|
|
| 538 |
|
function loadErrorMessages() { |
| 539 |
|
$errors = array(); |
| 540 |
|
|
| 541 |
|
if (is_file(dirname(__FILE__) . '/../../../ext/modules/payment/sage_pay/errors.php')) { |
| 542 |
|
include(dirname(__FILE__) . '/../../../ext/modules/payment/sage_pay/errors.php'); |
| 543 |
|
} |
| 544 |
|
|
| 545 |
|
$this->_error_messages = $errors; |
| 546 |
|
} |
| 547 |
|
|
| 548 |
|
function getErrorMessageNumber($string) { |
| 549 |
|
if (!isset($this->_error_messages)) { |