PayKassa to HostCMS
Using FTPclient copy the folder paykassa in the root of your website.
Open the newly copied folder paykassa.
Open the file paykassa_settings.php in any text editor.
Enter information about your store.
$secret_key – Secret key of your shop in the system PayKassa. Enter it between single quotes. You can get it in your account on the website paykassa.pro;
$shop_id – a Unique ID of your store in the system PayKassa. Specify it instead of zeros. You can get it in your account on the website paykassa.pro;
$test – Enable/disable test mode to test payments. Possible values: true – enable, false – disable.
Save the changes to the file and close it.
ATTENTION! WITHOUT SPECIFYING THESE SETTINGS, THE PLUGIN WILL NOT WORK!
Go to the admin panel and open "Internet shops".
Open one of the existing shops, for example "Catalog".
Open the menu "Directories –> Payment system".
When creating a payment method, enter all the parameters: name, description, currency, enable the activity.
In the "Processor" below copy the content from the file paykassa.php.
Remember the code assigned to the payment system.
Open the edit PayKassa (the pencil icon on the right) and paste in the handler has code instead of XX.
Click below handler "Apply".
Close the "Directory of payment systems" and open the section "Typical dynamic pages".
Open the "online store" and click the edit icon next to "online shop basket"
Click the "Settings page" and paste in the field "Setting of a typical dynamic page" text, copied from the file paykassa_config.php.
The text should be inserted before the words "add to cart".
The module in the admin panel is configured.
Then specify the URL address on the website paykassa.pro "Account PayKassa -> Stores -> store Settings -> Technical".
URL successful payment
The URL for unsuccessful payment
Where the * * * * * is your domain.
Module PayKassa to HostCMS v6.x configured.