CloudPayments payment module
The module will allow you to add payment by bank cards to your website through the CloudPayments payment service.
For the module to work correctly, registration in the service is required. The registration procedure is described in the CloudPayments documentation: https://cloudpayments.ru/Docs/Connect
Compatibility: OKAYCMS v.2.2.2.
Opportunities:
- One-step payment scheme;
- Choosing the localization of the payment widget;
- Currency selection;
- Support for online cash registers (FZ-54);
- Sending checks by e-mail;
- Sending checks by SMS;
- Choice of taxation system;
- Select VAT for goods and VAT for shipping separately.
Technical setting
In your CloudPayments personal account in the site settings, you must enable the following notifications:
Request for payment verification Check: http (s): //domain.ru/payment/CloudPayments/callback.php? Action = check;
Notice of accepted payment Pay:
http (s): //domain.ru/payment/CloudPayments/callback.php? action = pay;
Refund Notice:
http (s): //domain.ru/payment/CloudPayments/callback.php? action = refund;
where domain.ru is the domain name of your site. In all cases, you need to select the default option: encoding - UTF-8, HTTP method - POST, format - CloudPayments.
Installing the module.
To install the module, you need to place the contents of the design and payment directories from the archive into the corresponding directories on the server
OKAYCMS admin panel.
In the payment settings (Site Settings -> Payment Methods), you need to add a new payment method by selecting the CloudPayments type and specify the following settings:
Site ID - Public id of the site from your CloudPayments personal account;
Secret key - API Secret from your CloudPayments personal account;
Localization of the widget - the language of the widget. If not specified, the value is determined based on the site language.
In the currency settings (Site Settings -> Currencies) for all currencies used, you must enable the function of displaying kopecks.
When using integration with an online checkout:
Online checkout - Enable / disable the formation of an online check when paying;
Tax system - The type of tax system. Possible values are listed in the CloudPayments documentation: https://cloudpayments.ru/wiki/integration/products/onlinekassa ;
VAT rate - Specifies the VAT rate. All possible values are indicated in the documentation: https://cloudpayments.ru/wiki/integration/products/onlinekassa ;
VAT Rate for Shipping - Specifies the VAT rate for shipping. Similar to the VAT rate.
After specifying all the data, save the settings.
Conditions for providing the module: transferring the archive to the client.
Support conditions: CloudPayments technical support - https://support.cloudpayments.ru .
- Cash upon receipt
- Bank transfer
Recommend
The module allows you to set the size of the commission for a specific payment method.
This application allows you to create and issue an invoice for legal entities.
Warning: hash_hmac() expects parameter 2 to be string, array given in site.ru/www/payment/Cloudpayments/callback.php on line 23