Tuesday,

» Creating New Payment Plugins

Search:
Creating New Payment Plugins

Payment plugins folder are located at "egbusiness/includes//plugins/payment/". To create a new payment plugin 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_paysystem_to_list(
    array(
    'paysys_id' => 'hsbc',
    'title' => get_config_value('payment_hsbc_name') != ''?get_config_value('payment_hsbc_name'):'HSBC Bank Transfer',
    'description' => 'HSBC Bank Transfer',
    'public' => 1,
    'enable' => get_config_value('payment_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(
    'payment_hsbc_name,
    payment_hsbc_holder,
    payment_hsbc_number,
    payment_hsbc_info,
    payment_hsbc_enable,
    payment_hsbc_fee'
    );
  • Open config.inc.php with your favorite text/php editor, and replace "banking" words using text replace (replace all) to "hsbc"
    Example:

    $_plugin_fields = array(
    'payment_hsbc_name',
    'payment_hsbc_holder',
    'payment_hsbc_number',
    'payment_hsbc_info',
    'payment_hsbc_enable',
    'payment_hsbc_fee'
    );
  • Save all files, then upload to your web server "egbusiness/includes//plugins/payment/hsbc"
  • Go to egBusiness Admin Panel -> Configuration -> Payment and enable your new payment method.

 

Other tutorials in :

 

Popular Tutorials:


Testimonial

04/04/2017
Moubarak Idrissi from Moroco:
 Hello I am very happy with the work they gave me egnsoftware Thank you very much for the services you have given me. Thank you. 

Latest News

09/01/2019:
The newest update for product egViral Shop is available. The current version is v1.5 and it's come with features and improvements: 1- Php upgrade - Now supporting PHP7++2- Improvement on general system language3- Improvement with language detection from visitor's web browser4- Improvement on feature backup database5- Improvement on payment processing6- Improvement on error logging7- Improvement on cron task (automation)8- Improvement on binary commission distribution9- Improvement on Pass-Up... 
20/12/2018:
We are pleased to release a new software in lineup of EGN's products: egMLM - All in One MLM Solution egMLM is a only software that you need to build, manage, control and organize your Multi Level Marketing/ MLM Business. egMLM allow you to configure custom pay plans and compensation rule such as Binary plan, Pairing bonus, Matching bonus, Unilevel matrix, Revolving matrix, Regular matrix, Pool bonus, Reward bonus, Pass-up bonus, Sponsor bonus, Reward point, etc. egMLM is also includes n... 
20/12/2018:
Save up to 50% with our Year End Sale! Order now... During Year End Session, we give discount up to 50% for selected products. So order now to get cheapest price ever! Best Regards! EGN Software   
13/09/2018:
The newest update for product egViral Shop is available. The current version is v1.4 and it's come with features and improvements: 1- Fixing problem on delete products for some type of Admin.2- Fixing problem of setting Membership limitation on product's configuration.3- Correcting Courier details on checkout page4- Improvement on Mailling configuration.5- Improvement on SMS configuration.6- Improvement with Blockchain payment plugin.   Download your copy The update is available to do... 
18/07/2018:
The newest update for product egViral Shop is available. The current version is v1.3, This release come with features and improvements: 1- Improvement on feature "Register downline"2- Improvement on feature "Login Pin"3- Improvement with binary point distribution4- Improvement with ePin system5- Improvement with eCoupon system   Download your copy The update is available to download in your account area and update instruction is available in product tutorials. Please log in to your ac... 

Accepted Payments