130

Product support

Get help in the plugin support forum.

Categories

Installation

Buy plugin at OctoberCMS Marketplace, and attach it to your project.

Configuration

Open Settings –> Payment Methods, create new or update existing payment method, on Gateway tab select Sberbank and fill username and password that you get from Sberbank.

Notification service configuration

Open Sberbank account page and call or message to technical support for configuring your return URL. When they asked for URL provide that URL: https://mywebsite.com/shopaholic/sberbank/notification (change mywebsite.com to your domain).

USE METHOD WITHOUT CHECKSUM.

Capturing user after the successful or failed payment

This gateway using standard Shopaholic's event system.

Example of capturing user redirect:

// Success
$obEvent->listen(BizMark\SberbankShopaholic\Classes\Helper\PaymentGateway::EVENT_SUCCESS_URL, function ($obOrder) {
    return Page::url('order-complete-page', ['slug' => $obOrder->secret_key]);
});

// Fail
$obEvent->listen(BizMark\SberbankShopaholic\Classes\Helper\PaymentGateway::EVENT_FAIL_URL, function ($obOrder) {
    return Page::url('order-failed-page', ['slug' => $obOrder->secret_key]);
});
1.0.0

First version of Sberbank-Shopaholic

Jun 26, 2019