Sylius HT Payway gateway integration (direct/onsite and offsite)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
etc/build
features/shop
spec
src
tests
.gitignore
.travis.yml
PULL_REQUEST_TEMPLATE.md
README.md
SyliusHTPayWayPlugin.png
behat.yml.dist
composer.json
easy-coding-standard.neon
node_modules
phpspec.yml.dist
phpstan.neon
phpunit.xml.dist

README.md


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