Add New Bank Transfer Gateway on WHMCS Print

  • 1

To add new Bank Transfer create new php file:

banktransfer2.php 

Under whmcs/modules/gateways/

Copy the below code on it:

<?php
function banktransfer2_config(){
$configarray = array(
"FriendlyName" => array("Type" => "System", "Value"=>"Bank Transfer 2"),
"instructions" => array("FriendlyName" => "Bank Transfer 2", "Type" => "textarea", "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 banktransfer2_link($params) {
return nl2br($params['instructions']);
}
?>


Thats all now the new Bank Transfer gateway has been added.


Was this answer helpful?

« Back