With the installed plugin for Drupal, your customers will be able to pay with you through the payment page of «Sberbank». For the payment plugin to work, the Drupal Commerce module must be preinstalled in Drupal.
In the Drupal interface, add-ons are called «modules». The payment plugin falls into the same category, however the term «plugin» is used in this description.
The payment plugin was tested on the following versions of Drupal and the Drupal Commerce module.
Drupal version | Drupal Commerce version | Links to instructions |
---|---|---|
7.x | 1.13 | |
8.x | 2.x |
To install the payment plugin for Drupal, follow these steps.
<site folder>\modules\
.
To set up a payment plugin for Drupal, follow these steps.
Configuration | Description |
---|---|
Merchant 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. |
Merchant 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. |
Payment phases |
|
Working hours |
Allows you to set the plug-in operation mode: test or live (working).
|
Passing the shopping cart data |
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. |
Taxation scheme |
Tax system. The following values are available:
This setting is applied only if you have configured fiscalization parameters – see details in section on compliance with law 54-FZ. |
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. |
Logging requests to the payment gateway |
|
To install the plugin, follow these steps.
To configure the plugin, follow these steps.
The description contains only those settings that relate directly to the payment plugin. The rest of the settings are related to the content management system (CMS).
Configuration | Description |
---|---|
Display name |
Payment method name, for example: Payment by credit card. |
Mode |
Allows you to set the plug-in operation mode: test or live (working).
|
Login-API |
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 |
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-phase 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). |
Send cart data |
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. |
Taxation scheme |
Tax system. The following values are available:
This setting is applied only if you have configured fiscalization parameters – see details in section on compliance with law 54-FZ. |
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. |
Write log file |
Allows you to enable or disable event logging. |
Status |
Determines if the plugin is enabled. |