ROBOKASSA for Shopaholic
Payment gateway integration for Shopaholic.
ROBOKASSA for Shopaholic
Payment gateway integration for Shopaholic.
General information
The powerful payment method that allows your customers to pay with Bank Cards, Apple Pay, Samsung pay or any other popular methods without any certification.
For more information about Robokassa, read here.
© 2021, Biz-Mark under Commercial License.
Developed by Nick Khaetsky at Biz-Mark.
Installation via Command Line
php artisan plugin:install BizMark.RobokassaShopaholic
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/successMethod: GET - FailUrl:
http://mywebsite.com/shopaholic/robokassa/failMethod: 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]);
});
-
Shohabbos
Plugin is great and simple to use! Thanks to the author.
-
Kuznetsov Semen
Good plugin. Отличный плагин, простое подключение все работает как в paypal shopaholic, то есть через make order нет лишних компонентов и пр. Установил, настроил и забыл
-
Biz-Mark author
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 |