Withdrawal plugins folder are located at "egbusiness/includes/plugins/withdrawal/".
Do the following:
- Copy "banking" folder to the new bank's name, for example "hsbc"
- Rename files :
1. banking.inc.php to hsbc.inc.php
2. banking.php to hsbc.php
- Open hsbc.inc.php with your favorite text/php editor, and replace "banking"
words using text replace (replace all) to "hsbc"
Example:
add_withdrawsystem_to_list(
array(
'paysys_id' => 'hsbc',
'title' => get_config_value('withdrawal_hsbc_name') !=
''?get_config_value('withdrawal_banking_name'):'HSBC Bank Transfer',
'description' => 'Manual withdrawal',
'enable' => get_config_value('withdrawal_hsbc_enable'
)));
- Open hsbc.php with your favorite text/php editor, and replace "banking"
words using text replace (replace all) to "hsbc"
Example:
$db = get_config_values(
'withdrawal_hsbc_name,
withdrawal_hsbc_holder,
withdrawal_hsbc_number,
withdrawal_hsbc_info,
withdrawal_hsbc_enable,
withdrawal_hsbc_fee'
);
- Open config.inc.php with your favorite text/php editor, and replace "banking"
words using text replace (replace all) to "hsbc"
Example:
$pid = 'hsbc';
$_plugin_fields = array(
'withdrawal_hsbc_name',
'withdrawal_hsbc_enable',
'withdrawal_hsbc_fee'
);
- Save all files, then upload to your web server
"egbusiness/includes//plugins/withdrawal/hsbc"
- Go to egBusiness Admin Panel -> Configuration -> Withdrawal and enable
your new withdrawal method.