break;
}
if (!empty($authorizeerror)) {
- print_error('authorizeerror');
+ print_error('authorizeerror', 'enrol_authorize', '', $authorizeerror);
}
}
$frmenrol->display();
/// Get course
if (! $course = $DB->get_record('course', array('id'=>$courseid))) {
- print_error('invaliduserid');
+ print_error('invalidcourseid', '', '', $courseid);
}
/// Only SITE users can access to this page
-<?PHP // $Id$
+<?PHP // $Id$
// enrol_authorize.php - created with Moodle 2.0 dev (2007101508)
$string['authorize:managepayments'] = 'Manage payments';
$string['authorize:uploadcsv'] = 'Upload CSV file';
$string['authorizedpendingcapture'] = 'Authorized / Pending Capture';
+$string['authorizeerror'] = 'Authorize.net Error: $a';
$string['avsa'] = 'Address (street) matches, postal code does not';
$string['avsb'] = 'Address information not provided';
$string['avse'] = 'Address Verification System Error';