To Do
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
$ 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(),
]);
}
Go to Sylius admin, Payment options and configure your HT PayWay. You will need to have your shop_id and secret_key.
$ 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
Learn more about our contribution workflow on http://docs.sylius.org/en/latest/contributing/.
Want us to help you with this plugin or any Sylius project? Write us an email on [email protected]