Skip to content

Sylius HT Payway gateway integration (direct/onsite and offsite)

Notifications You must be signed in to change notification settings

Locastic/SyliusHTPayWayPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

84cb7c6 · Feb 15, 2019

History

36 Commits
Apr 25, 2018
Apr 25, 2018
May 5, 2018
May 6, 2018
May 15, 2018
May 5, 2018
Apr 25, 2018
Apr 25, 2018
May 7, 2018
Feb 15, 2019
May 7, 2018
May 4, 2018
May 7, 2018
Apr 25, 2018
Apr 25, 2018
May 6, 2018
Apr 25, 2018
Apr 25, 2018

Repository files navigation

Demo

To Do

Overview

Ht PayWay is one the most popular and most used payment gateway in Croatia. This plugin allows you to easily integrate credit card payment via HT PayWay in Sylius.

To do: Implement Onsite (Direct) payment

Installation

$ composer require locastic/sylius-ht-payway-plugin

Add plugin dependencies to your AppKernel.php file:

public function registerBundles()
{
    return array_merge(parent::registerBundles(), [
        ...
        
        new \Locastic\SyliusHTPayWayPlugin\LocasticSyliusHTPayWayPlugin(),
    ]);
}

Usage

Go to Sylius admin, Payment options and configure your HT PayWay. You will need to have your shop_id and secret_key.

Testing

$ composer install
$ cd tests/Application
$ yarn install
$ yarn run gulp
$ bin/console assets:install web -e test
$ bin/console doctrine:schema:create -e test
$ bin/console server:run 127.0.0.1:8080 -d web -e test
$ open http://localhost:8080
$ bin/behat
$ bin/phpspec run

Contribution

Learn more about our contribution workflow on http://docs.sylius.org/en/latest/contributing/.

Support

Want us to help you with this plugin or any Sylius project? Write us an email on info@locastic.com