Download the PHP package webgriffe/sylius-nexi-plugin without Composer
On this page you can find all versions of the php package webgriffe/sylius-nexi-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download webgriffe/sylius-nexi-plugin
More information about webgriffe/sylius-nexi-plugin
Files in webgriffe/sylius-nexi-plugin
Package sylius-nexi-plugin
Short Description Nexi payment plugin for Sylius.
License MIT
Informations about the package sylius-nexi-plugin
Sylius Nexi Plugin
The SyliusNexiPlugin provides an integration between Sylius and Nexi XPay payment gateway. This plugin implements the Hosted Payment Page integration method.
Note! This plugin is only compatible with the Nexi configuration which allows only one payment per request. It is therefore not possible to retry the payment several times on the Nexi checkout, so make sure that your Nexi gateway is configured to not allow payment retry (you'll have to ask to Nexi customer care for this)!
Installation
-
Run
-
Add
Webgriffe\SyliusNexiPlugin\WebgriffeSyliusNexiPlugin::class => ['all' => true]
to yourconfig/bundles.php
. -
(Optional) It's suggested to also install the Payum Lock Request Extension Bundle:
and add
Webgriffe\PayumLockRequestExtensionBundle\WebgriffePayumLockRequestExtensionBundle::class => ['all' => true]
to yourconfig/bundles.php
. This Payum extension avoids issues when concurrent requests are made by the buyer and the Nexi gateway for the same payment.
Configuration
Go in your Sylius admin panel and create a new payment method. Choose Nexi Gateway
as the payment gateway and fill the required fields.
You can also enable the Sandbox mode if you want to test the integration with the Nexi test environment.
Contributing
Running plugin tests
-
PHPUnit
-
PHPSpec
-
Behat (non-JS scenarios)
-
Behat (JS scenarios)
-
Start Headless Chrome:
-
Install SSL certificates (only once needed) and run test application's webserver on
127.0.0.1:8080
: - Run Behat:
-
Static Analysis
-
Psalm
- PHPStan
-
- Coding Standard
Opening Sylius with your plugin
-
Using
test
environment: - Using
dev
environment:
License
This plugin is under the MIT license. See the complete license in the LICENSE file.
Credits
Developed by Webgriffe®.
All versions of sylius-nexi-plugin with dependencies
php-http/message-factory Version ^1.0
psr/log Version ^2.0
sylius/sylius Version ^1.12
symfony/webpack-encore-bundle Version ^1.15
php Version ^8.1
guzzlehttp/psr7 Version ^1.6 || ^2.5
webgriffe/lib-quipago Version ^3.0