Инструменты страницы



Netcat

With the installed payment plugin for Netcat, your customers will be able to pay with you through the payment page of Sberbank.

The plugin is compatible with Netcat versions 5.9.x and higher and has been tested on E-commmerce editions.



Installation

To install the payment plugin for Netcat, follow these steps.

  1. Unpack the payment plugin archive and place its contents (file rbs.php) to the following folder of your site:
    /netcat/modules/payment/classes/system/.
  2. Log in to your site's management console.
  3. From the top menu select Development> Classificators (see image below).


    The following page will be displayed.


  4. Select item Payment systems.
    The following page will be displayed.


  5. Click on the button Add element below the list.
    The following page will be displayed.


  6. Configure the settings using the table below.

    Configuration Description
    Element name Enter the name that will be displayed on your site, for exampleCard payment through Sberbank.
    Added value Enter value nc_payment_system_rbspayment.


  7. Leave the rest of the settings unchanged and click the Save button under the form.
  8. On the page Payment systems click on the button Save changes.
    On the page Payment systems a message will be displayed: Classificator successfully changed.



Configuration

To set up a payment plugin, follow these steps.

  1. Log in to your site's administrative console.
  2. From the top menu select Modules > Payment module.
    (see image below).


    The section will be displayed Payment module > Payment systems (see image below).


  3. Opposite the created payment system (the name used in this guide is Card payment through Sberbank) click on the OFF button to switch it to ON to enable the installed plugin (see image below).

  4. Click on opposite the enabled payment method to open the plugin settings page.
    The following page will be displayed.


  5. Configure the settings using the table below (the settings order may be different).

    Configuration Description
    userName (Login)

    Login of a service account in a payment gateway with a suffix -api.

    If the plugin is running in test mode, you should specify the login for the test user account. If the plugin is running in production mode, you should specify the password for the production user account.

    password (Password)

    The password for the service account in the payment gateway.

    If the plugin is running in test mode, you should specify the password for the test user account. If the plugin is running in standard (production) mode, you should specify the password for the production user account.

    testmode (Test mode)

    Allows you to set the plug-in operation mode: test or live (working).

    • If the plugin is running in test mode, in the respective fields (Login and Password) you should specify the data of the test service account.
    • If the plugin works in the live mode, in the respective fields (Login and Password) you should specify the data of the live service account.
    • yes – test mode;
    • no – live mode.
    two-phase (Two-phase mode)

    Allows you to set the staging of payments – payments can be one-phase (do not require confirmation from the merchant) or two-phase (for the successful completion of the payment, the merchant must complete it, before that the funds will be held on the buyer's account).

    • yes – two-phase mode;
    • no – one-phase mode.
    returnUrl (Return URL after successful payment) Enter the URL to which the customer will be returned after a successful payment.
    successUrl

    The URL to which the user will be redirected in case of successful payment.

    failUrl

    The URL to which the user will be redirected in case of unsuccessful payment.

    send_order

    Allows you to choose whether the shopping cart will be sent and whether a sales receipt will be generated. To be able to use this functionality, please contact your bank representative. For more details see section on compliance with law 54-FZ.

    • yes – pass cart items data;
    • no – do not pass cart items data.
    taxSystem

    Tax system. The following values are available:

    • 0 – general;
    • 1 – simplified, with only revenue taken into account;
    • 2 – simplified, the revenue minus the expenditure;
    • 3 – unified tax on imputed income;
    • 4 – unified agricultural tax;
    • 5 – patent tax system.

    This setting is applied only if you have configured fiscalization parameters – see details in section on compliance with law 54-FZ.

    paymentMethod

    Payment type. Possible values:

    • 1 – full pre-payment before the delivery date of the payment subject;
    • 2 – partial pre-payment before the delivery date of the payment subject;
    • 3 – advance payment;
    • 4 – full payment on the delivery date of the payment subject;
    • 5 – partial payment for the payment subject on the delivery date followed by payment on credit;
    • 6 – delivery of the payment subject on the delivery date without payment followed by payment on credit;
    • 7 – payment for the payment subject after its delivery using payment on credit.

    The settings are effective only if the format of fiscal documents of version 1.05 and higher is selected.

    paymentMethod_Delivery

    Payment type for delivery starting from 1.05

    • 1 – full pre-payment before the delivery date of the payment subject;
    • 2 – partial pre-payment before the delivery date of the payment subject;
    • 3 – advance payment;
    • 4 – full payment on the delivery date of the payment subject;
    • 5 – partial payment for the payment subject on the delivery date followed by payment on credit;
    • 6 – delivery of the payment subject on the delivery date without payment followed by payment on credit;
    • 7 – payment for the payment subject after its delivery using payment on credit.
    paymentObject

    Type of item being paid for. Possible values:

    • 1 – product;
    • 2 – excisable product;
    • 3 – work;
    • 4 – service;
    • 5 – gambling bet;
    • 7 – lottery ticket;
    • 9 – intellectual property;
    • 10 – payment;
    • 11 – agent's fee;
    • 12 – several subjects;
    • 13 – other payment subject.

    The settings are effective only if the format of fiscal documents of version 1.05 and higher is selected.

    write_log

    Allows you to enable or disable event logging.

    • yes – keep the event log;
    • no – do not keep the event log.
  6. Click on the Save button in the lower right corner of the page.