File: /python/moda/public_html/tech/old/modules/gateways/banktransfer.php
<?php
# Bank Transfer Payment Gateway Module
if (!defined("WHMCS")) die("This file cannot be accessed directly");
function banktransfer_config() {
$configarray = array(
"FriendlyName" => array(
"Type" => "System",
"Value" => "Bank Transfer"
),
"instructions" => array(
"FriendlyName" => "Bank Transfer Instructions",
"Type" => "textarea",
"Rows" => "5",
"Value" => "Bank Name:\nPayee Name:\nSort Code:\nAccount Number:",
"Description" => "The instructions you want displaying to customers who choose this payment method - the invoice number will be shown underneath the text entered above",
),
);
return $configarray;
}
function banktransfer_link($params) {
$code = '<p>'
. nl2br($params['instructions'])
. '<br />'
. Lang::trans('invoicerefnum')
. ': '
. $params['invoicenum']
. '</p>';
return $code;
}