Server IP : 213.176.29.180 / Your IP : 3.139.88.246 Web Server : Apache System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64 User : webtaragh ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/webtaragh/public_html/whmcs/crons/../modules/gateways/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?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; }