With the installed plugin for 1C-Bitrix, your customers will be able to pay with you through the payment page of «Sberbank».
The module presented in this section is installed independently by copying files to the hosting through the file manager. This module is also available from marketplace.
The version posted on the marketplace is installed through the marketplace through the Bitrix administrative part.
The program code of the two presented versions is different, but the logic of work is identical. The difference between the versions is due to different installation logic (the logic for converting encodings and copying files is different).
Payment plugin interacts with the module Online store from 1C-Bitrix. Only three editions of 1C-Bitrix include this module and are compatible with the payment plugin:
For more details on the differences between editions, see the website «1C-Bitrix».
To check the compatibility of your 1C-Bitrix instance with the payment plugin, follow these steps.
1C-Bitrix version used for installation and configuration: 1C-Bitrix: Site Manager, Small Business Edition, version16.5.4.
To install the plugin, follow these steps.
rbs.payment
at: <site_folder>\bitrix\modules\
.
To configure the basic parameters of the payment plugin, follow these steps.
In the 1C-Bitrix interface, a «payment system» is a payment method that a customer can choose, for example: «in cash to a courier», «by bank card», etc. The term «payment method» is used throughout this description.
The order of fields and settings may differ depending on the edition of your 1C-Bitrix instance.
Configuration | Description |
---|---|
Handler | Select the Sberbank (payment) item in the list. |
Handler name | Enter a title for the payment method, for example Payment by credit card («Sberbank»). This field is not displayed in the 1C-Bitrix interface. |
Name | Enter the name of the payment method, for example Payment by credit card – the value of this field will be displayed to the buyer on the page for choosing a payment method. |
Active |
|
Sorting | The value of this field affects the position of the payment method on the payment method selection page along with payment. For example, if there are three payment methods with Sorting values of 10, 45 and 100 respectively, then the payment method 10 will be the first, 45 – the second, and 100 – the third. If different payment methods have the same values in this field, sorting occurs by the value of the Name field. |
Description | Payment method description – the value of this field will be displayed to the buyer on the payment method selection page. |
Payment system logo | Click on the Add file button and specify the path to the payment method logo – this logo will be displayed to the buyer on the payment method selection page. |
Open in a new window |
|
Payment type | Select the value Cashless from this list. |
Enable auto-recalculation of payments | This setting is valid only for two-phase payments. If before the order went into the state Approved, its composition has changed, then when the checkbox is selected, the order amount will be automatically recalculated. |
Encoding |
|
Code | This field is not used – leave it blank. |
Section Payment system processor settings can contain 3 tabs with the same settings:
In this description, the setting is shown using the example of the Default tab. If the tabsIndividual and Entity have not been edited before, the changes made will apply to these tabs.
Configuration | Description | |
---|---|---|
Allow shipment | If checked, then after successful payment the order will be automatically allowed to be shipped. | |
Logging |
Allows you to enable or disable event logging. |
|
Test mode |
| |
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. | |
Two Stage Payments |
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). | |
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. | |
Bank issues receipt |
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. | |
Automatic redirect to the payment form | The customer will be immediately redirected to the payment form after the order is created. | |
Fiscal documents format |
The list allows you to specify the used format of fiscal documents, the following options are available:
The format of the version must match the format selected in the personal account of the bank and in the account of the fiscalization service. | |
Payment type |
Payment type. Possible values:
The settings are effective only if the format of fiscal documents of version 1.05 and higher is selected. | |
Type of item being paid for |
Type of item being paid for. Possible values:
The settings are effective only if the format of fiscal documents of version 1.05 and higher is selected. |
Settings made on the Default tab are automatically propagated to tabs Individual and Entity if the latter have not been edited before. To override the default settings, follow these steps.
The created payment method will appear in the table on the Payment systems page. If you need to edit the plugin parameters, click on the menu icon opposite the created payment method and select Change (see image below).