Skip to content

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

Notifications You must be signed in to change notification settings

guycalledseven/SyliusHTPayWayPlugin

 
 

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 [email protected]

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 85.8%
  • Gherkin 6.7%
  • Twig 5.6%
  • JavaScript 1.9%