97

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 Robokassa and fill up the required fields.

All credentials for using this payment gateway you can get while creating new shop on Robokassa website.

When you creating shop, choose MD5 everywhere in Hash dropdown field.

Fields ResultUrl, SuccessUrl, FailUrl fill like in this example:

  • ResultUrl: http://mywebsite.com/shopaholic/robokassa/ Method: POST
  • SuccessUrl: http://mywebsite.com/shopaholic/robokassa/success Method: GET
  • FailUrl: http://mywebsite.com/shopaholic/robokassa/fail Method: GET

Capturing user after the successfull or failed payment

This gateway using standard Shopaholic's event system.

Example of capturing user redirect:

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

// Fail
$obEvent->listen(BizMark\RobokassaShopaholic\Classes\Helper\PaymentGateway::EVENT_FAIL_RETURN_URL, function ($obOrder) {
    return Page::url('order-complete-page', ['slug' => $obOrder->secret_key]);
});
  • Found the plugin useful on 28 Aug, 2019

    Plugin is great and simple to use! Thanks to the author.

  • Found the plugin useful on 17 Aug, 2019

    Good plugin. Отличный плагин, простое подключение все работает как в paypal shopaholic, то есть через make order нет лишних компонентов и пр. Установил, настроил и забыл

  • author

    Replied on 19 Aug, 2019

    Thanks for the review! Спасибо за отзыв!

1.1.0

Robokassa response fix. Robokassa changed invoice id key in response.

Apr 19, 2021

1.0.0

First version of Robokassa-Shopaholic

Jun 24, 2019