Payment module Hostcms

In the menu Content -> Web-stores select the store, to which the module is to be connected. In the top horizontal menu select the section Directory -> Payment systems. In the Payment system menu select Add. In the field Name enter the payment system name Fondy, fill the field Description at your own choosing and click Apply.

In the menu “Payment systems directory” click “Edit” (pencil icon) next to Fondy. In the payment system information edit window select the tab “Additional” and memorize the “Identifier” value (for example, 27).

Open the payment system information edit window (Main tab). Tick “Activity”. Copy the code from the file in the field “Processor” fondyHandler.php(https://github.com/cloudipsp/hostcms/blob/master/fondyHandler.php).Then do the following:

In the line «class Shop_Payment_System_HandlerXX extends Shop_Payment_System_Handler» instead of XX symbols enter the identifier (from “Additional” tab). The result should be the line like «class Shop_Payment_System_Handler27 extends Shop_Payment_System_Handler»;