Tuesday,

egBusiness v2 » 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 egBusiness v2:

 

Popular Tutorials:


Testimonial

M Canfield from Phoenix Arizona Usa:
 Thank you for responding to my setup questions. Your responses are very helpful and timely.. Michael 

Latest news

31/01/2018:
The newest update for product egViral Shop is available now, This release come with features and improvements: Improvement with ePin system, Fixing problem when activating member on template "tpl1", Fixing captcha code problem when adding member in admin area, Fixing problem with cron job file, And other fix and Improvements. 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 a... 
01/01/2018:
Let us begin this year with new hope, new targets and new projects to write new stories of success… May our professional relationships grow and prosper in this coming year with our hard work and dedication… Happy New Year 2018!   Our Best regards, EGN Software 
14/12/2017:
The newest update for product Bitcoin Member to Member Donation is available now, This release come with features and improvements: Add ability for other currency as default, Now supporting currency BTC, USD, CNY, JPY, SGD, HKD, CAD, NZD, AUD, CLP, GBP, DKK, SEK, ISK, CHF, BRL, EUR, RUB, PLN, THB, KRW, TWD And rate to BTC will be taken from https://blockchain.info/ticker Update of template "responsive" And other fix and Improvements. Download your copy The update is available to dow... 
21/11/2017:
The newest update for product egSuperBusiness is available now, This release come with features and improvements: Update of templates using Responsive Design, makes your web page look good on all devices (desktops, tablets, and phones). Update of Instant messenger plugin, Now it working with WhatsApp, Skype, Viber, LINE, Telegram, WeChat, Hangouts, Facebook Messenger New payment plugin, coinpayments.net New withdrawal plugin, coinpayments.net And other fix and Improvements. Downlo... 
11/11/2017:
 We are pleased to release a new software in lineup of EGN's products: egViralShop - Online shop + Network Marketing System egViralShop - is a complete Online Shop/ Shopping cart software with Network Marketing System. You can sell anything online and increase sales by running a network markting plan such as Binary plan, Revolving matrix and Regular matrix working simultaneous. This software is also working with Pool bonus, Gift bonus with Ranking system, ePin for registration, eCou... 

Accepted payments