144

Product support

Get help in the plugin support forum.

Categories

WayForPay integration for OctoberCMS Shopaholic

Payment method for Shopaholic that allows your customers to pay using bank cards, Apple Pay, Google pay and etc. through WayForPay Gateway.

To be able to use this gateway, make sure you are the client of WayForPay.


Features:

  • One click install and intuitive settings.
  • English language is supported
  • Tech support is available if bugs occured
  • Constant updates to latest API requirements

© 2021, Biz-Mark under Commercial License.

Developed by Nick Khaetsky at Biz-Mark.

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 WayForPay and fill merchantAccount and SecretKey that you get from WayForPay after creating shop in personal account.

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\WayForPayShopaholic\Classes\Helper\PaymentGateway::EVENT_APPROVED_URL, function ($obOrder) {
    return Page::url('order-complete-page', ['slug' => $obOrder->secret_key]);
});

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

© 2020, Biz-Mark under Commercial License.

Developed by Nick Khaetsky at Biz-Mark.

1.0.0

First version of WayForPayShopaholic

Sep 01, 2020