General information
A simple payment method for Shopaholic that allows your customers to pay using bank cards.
© 2021, Biz-Mark under Commercial License.
Developed by Nick Khaetsky at Biz-Mark.
Installation via Command Line
php artisan plugin:install BizMark.UnitellerShopaholic
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 Uniteller and fill up the required fields.
Notification service configuration
Open Uniteller account at Uniteller web-site then -> Points of sale, click on wrench icon of your shop.
In URL-address notification shop field add: https://mywebsite.ru/shopaholic/uniteller
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\UnitellerShopaholic\Classes\Helper\PaymentGateway::EVENT_SUCCESS_URL, function ($obOrder) {
return Page::url('order-complete-page', ['slug' => $obOrder->secret_key]);
});
// Fail
$obEvent->listen(BizMark\UnitellerShopaholic\Classes\Helper\PaymentGateway::EVENT_FAIL_URL, function ($obOrder) {
return Page::url('order-failed-page', ['slug' => $obOrder->secret_key]);
});
-
This plugin has not been reviewed yet.
-
| 1.0.0 |
First version of Uniteller-Shopaholic Jul 12, 2019 |
|---|