catalog/includes/modules/payment/sage_pay_direct.php 1 location
|
@@ 1038-1050 (lines=13) @@
|
| 1035 |
|
$this->_error_messages = $errors; |
| 1036 |
|
} |
| 1037 |
|
|
| 1038 |
|
function getErrorMessageNumber($string) { |
| 1039 |
|
if (!isset($this->_error_messages)) { |
| 1040 |
|
$this->loadErrorMessages(); |
| 1041 |
|
} |
| 1042 |
|
|
| 1043 |
|
$error = explode(' ', $string, 2); |
| 1044 |
|
|
| 1045 |
|
if (is_numeric($error[0]) && $this->errorMessageNumberExists($error[0])) { |
| 1046 |
|
return $error[0]; |
| 1047 |
|
} |
| 1048 |
|
|
| 1049 |
|
return false; |
| 1050 |
|
} |
| 1051 |
|
|
| 1052 |
|
function getErrorMessage($number) { |
| 1053 |
|
if (!isset($this->_error_messages)) { |
catalog/includes/modules/payment/sage_pay_form.php 1 location
|
@@ 551-563 (lines=13) @@
|
| 548 |
|
$this->_error_messages = $errors; |
| 549 |
|
} |
| 550 |
|
|
| 551 |
|
function getErrorMessageNumber($string) { |
| 552 |
|
if (!isset($this->_error_messages)) { |
| 553 |
|
$this->loadErrorMessages(); |
| 554 |
|
} |
| 555 |
|
|
| 556 |
|
$error = explode(' ', $string, 2); |
| 557 |
|
|
| 558 |
|
if (is_numeric($error[0]) && $this->errorMessageNumberExists($error[0])) { |
| 559 |
|
return $error[0]; |
| 560 |
|
} |
| 561 |
|
|
| 562 |
|
return false; |
| 563 |
|
} |
| 564 |
|
|
| 565 |
|
function getErrorMessage($number) { |
| 566 |
|
if (!isset($this->_error_messages)) { |
catalog/includes/modules/payment/sage_pay_server.php 1 location
|
@@ 548-560 (lines=13) @@
|
| 545 |
|
$this->_error_messages = $errors; |
| 546 |
|
} |
| 547 |
|
|
| 548 |
|
function getErrorMessageNumber($string) { |
| 549 |
|
if (!isset($this->_error_messages)) { |
| 550 |
|
$this->loadErrorMessages(); |
| 551 |
|
} |
| 552 |
|
|
| 553 |
|
$error = explode(' ', $string, 2); |
| 554 |
|
|
| 555 |
|
if (is_numeric($error[0]) && $this->errorMessageNumberExists($error[0])) { |
| 556 |
|
return $error[0]; |
| 557 |
|
} |
| 558 |
|
|
| 559 |
|
return false; |
| 560 |
|
} |
| 561 |
|
|
| 562 |
|
function getErrorMessage($number) { |
| 563 |
|
if (!isset($this->_error_messages)) { |