Logo

API for 3rd party Payment Gateways integration.


Implementing a Payment Gateway requires PHP knowledge and is not part of support, this documentation is written for programmers. Already available Gateways can be seen here.


The payment gateway folder and files will have to be located in [SITE_ROOT]\administrator\components\com_rbids\thefactory\payments\plugins\gateways\


The main folder will be named "pay_mygateway" and contain:


  • controller.php (gateway logic and frontend form)
  • form.xml (the admin configuration form)
  • logo.png (optional)


controller.php


Must contain:

defined('_JEXEC') or die('Restricted access');
 
require_once(realpath(dirname(__FILE__).DS.'..'.DS.'..'.DS.'..'.DS.'classes'.DS.'gateways.php'));