Language direction is important. Changed as: <b>AVS Result:</b> $a
merged from 16_stable.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php // $Id$
|
||||
|
||||
if (!defined('MOODLE_INTERNAL')) {
|
||||
die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
|
||||
die('Direct access to this script is forbidden.');
|
||||
}
|
||||
|
||||
define('AN_APPROVED', '1');
|
||||
@@ -294,7 +294,7 @@ function authorizenet_action(&$order, &$message, &$extra, $action=AN_ACTION_NONE
|
||||
if (!empty($CFG->an_avs)) {
|
||||
$avs = "avs" . strtolower($response[5]);
|
||||
$stravs = get_string($avs, "enrol_authorize");
|
||||
$message .= "<br />" . get_string("avsresult", "enrol_authorize") . $stravs;
|
||||
$message .= "<br />" . get_string("avsresult", "enrol_authorize", $stravs);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ $string['avsg'] = 'Non-U.S. Card Issuing Bank';
|
||||
$string['avsn'] = 'No match on address (street) nor postal code';
|
||||
$string['avsp'] = 'Address Verification System not applicable';
|
||||
$string['avsr'] = 'Retry - System unavailable or timed out';
|
||||
$string['avsresult'] = 'AVS Result:';
|
||||
$string['avsresult'] = '<b>AVS Result:</b> $a';
|
||||
$string['avss'] = 'Service not supported by issuer';
|
||||
$string['avsu'] = 'Address information is unavailable';
|
||||
$string['avsw'] = '9 digit postal code matches, address (street) does not';
|
||||
|
||||
Reference in New Issue
Block a user