# Adyen Payments Plugin for Sylius
, (*1)
We want to impact many unique eCommerce projects and build our brand recognition worldwide, so we are heavily involved in creating open-source solutions, especially for Sylius. We have already created over 35 extensions, which have been downloaded almost 2 million times., (*2)
You can find more information about our eCommerce services and technologies on our website: https://bitbag.io/. We have also created a unique service dedicated to creating plugins: https://bitbag.io/services/sylius-plugin-development., (*3)
Do you like our work? Would you like to join us? Check out the āCareerā tab: https://bitbag.io/pl/kariera., (*4)
# About us
BitBag is a software house that implements tailor-made eCommerce platforms with the entire infrastructureāfrom creating eCommerce platforms to implementing PIM and CMS systems to developing custom eCommerce applications, specialist B2B solutions, and migrations from other platforms., (*5)
We actively participate in Sylius's development. We have already completed over 150 projects, cooperating with clients from all over the world, including smaller enterprises and large international companies. We have completed projects for such important brands as Mytheresa, Foodspring, Planeta Huerto (Carrefour Group), Albeco, Mollie, and ArtNight., (*6)
We have a 70-person team of experts: business analysts and eCommerce consultants, developers, project managers, and QA testers., (*7)
Our services:
* B2B and B2C eCommerce platform implementations
* Multi-vendor marketplace platform implementations
* eCommerce migrations
* Sylius plugin development
* Sylius consulting
* Project maintenance and long-term support
* PIM and CMS implementations, (*8)
Some numbers from BitBag regarding Sylius:
* 70 experts on board
* +150 projects delivered on top of Sylius,
* 30 countries of BitBagās customers,
* 7 years in the Sylius ecosystem.
* +35 plugins created for Sylius, (*9)
, (*10)
Table of Content
# Overview
Elevate your Sylius store's payment processing capabilities with the Adyen Plugin. Developed in collaboration with the Adyen Team, this plugin seamlessly integrates Sylius with Adyen, a globally recognized payment processing company. By enabling a wide range of payment methods, this plugin offers a comprehensive solution for your payment gateway needs. It supports all methods available to drop-in., (*11)
, (*12)
, (*13)
Adyen is a growing payment processing company. This plug-in is an integration with Sylius, it was developed with Adyen Team cooperation to provide the best experience.
It supports all methods available to drop-in., (*14)
Features
Installation
For the full installation guide please go to here., (*15)
Requirements
We work on stable, supported and up-to-date versions of packages. We recommend you to do the same., (*16)
Package |
Version |
PHP |
^8.0 |
ext-json: |
* |
sylius/refund-plugin |
^1.0.0 |
sylius/resource-bundle |
^1.8 |
sylius/sylius |
~1.12 or ~1.13 |
symfony/messenger |
^5.4 or ^6.0 |
adyen/php-api-library |
^11.0 |
Full installation guide
## Customization
Run the below command to see what Symfony services are shared with this plugin:, (*17)
$ bin/console debug:container bitbag_sylius_adyen_plugin
Plug-in heavily relies on Symfony's Messenger Component. All the payment notifications handling actions are done by messages and their handlers. Feel free to play with, decorate or provide a middleware to customize plug-in according to your needs., (*18)
All the processing is done using sylius.command_bus
(sylius_default.bus
in previous versions). sylius.event_bus
(sylius_event.bus
) is used to hook up Refund Plug-in requests and let the Adyen know that refund is requested., (*19)
## Configuration
The plug-in provides a configuration that can be overrided:, (*20)
bitbag_sylius_adyen:
logger: ~
supported_types: ~
property |
type |
description |
logger |
null\ |
string | specifies a logger service name which handles dumping of all traffic between your Sylius instance and Adyen API; useful for debugging. Empty value = disable logging |
supported_types |
null\ |
array | whitelist of visible payment methods; null = all tested payment methods, array = list of payment types, empty array = don't filter at all and show everything returned by Adyen |
## Security
If you find anything that could be a security problem, please reach us first on hello@bitbag.io
in order to prepare a patch before disclosure., (*21)
We know that your money is valuable, so we designed this plug-in to change the payment statuses only at the request of Adyen systems that are signed using HMAC signature., (*22)
## Frontend part
Starting and building assets
- Go to
./tests/Application/
directory
bin/console assets:install
CSS & JS files directory
- CSS: go to
./src/Resources/public/css/**/
- JS: go to
./src/Resources/public/js/**/
## Testing
$ composer install
$ cd tests/Application
$ bin/console assets:install -e test
$ bin/console doctrine:database:create -e test
$ bin/console doctrine:schema:create -e test
$ yarn install
$ yarn encore dev
$ yarn gulp
$ bin/console server:run 127.0.0.1:8080 -e test
$ bin/phpunit
$ bin/behat
If you need some help with Sylius development, don't be hesitated to contact us directly. You can fill the form on this site or send us an e-mail to hello@bitbag.io!, (*23)
## Additional resources for developers
To learn more about our contribution workflow and more, we encourage ypu to use the following resources:
* Sylius Documentation
* Sylius Contribution Guide
* Sylius Online Course
* Sylius Adyen Plugin Blog, (*24)
## License
This plugin's source code is completely free and released under the terms of the MIT license., (*25)
If you find anything that could be a security problem, please reach us first on hello@bitbag.io in order to prepare a patch before disclosure., (*26)
We know that your money is valuable, so we designed this plug-in to change the payment statuses only at the request of Adyen systems that are signed using the HMAC signature., (*27)
For online communication, we invite you to chat with us & other users on Sylius Slack., (*28)
, (*29)