: 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

Gilles Sagot from Canada:
 Hello Sir, I would like to thank you very much for the excellent support you gave us. I had a big problem with the paypal subscription fonction. I tried to solve that problem alone but I wasn't able. I sent my problem to the support team website. And surpise, less than 48 hours were needed to improve all my settings for that great script. One more time, thank you ... I can know sell my products. Best regards Gilles 

Latest News

Accepted Payments

Copyright © 2007 - 2026 EGN Software, All rights reserved

Talk to us?