telemetricsystems/sylius-tpay-plugin

This package is auto-updated.

Last update: 2024-04-16 11:11:13 UTC


README

The plugin integrates Tpay Poland payments with Sylius based applications. After the installation you should be able to create a payment method for Tpay gateway and enable its payments in your web store.

Note

Tpay operates the payment service provider service in various countries under the same brand (RO, PL, IN, AR, BR just to name a few). Unfortunately, they use different platforms and this plugin it does not work for Tpay in Romania, for example.

Installation

$ composer require telemetricsystems/sylius-tpay-plugin "dev-master"

Add plugin dependencies to your config/bundles.php file:

return [
    Ts\SyliusTpayPlugin\TsSyliusTpayPlugin::class => ['all' => true],
]

Customization

Available services you can decorate and forms you can extend

Run the below command to see what Symfony services are shared with this plugin:

$ bin/console debug:container ts.sylius_tpay_plugin

Testing

$ wget http://getcomposer.org/composer.phar
$ php composer.phar install
$ yarn install
$ yarn encore dev
$ php bin/console sylius:install --env test
$ php bin/console server:start --env test
$ open http://localhost:8000
$ bin/behat features/*
$ bin/phpspec run

License

This plugin's source code is completely free and released under the terms of the MIT license.