PHPackages                             tulik/mollie-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. tulik/mollie-plugin

ActiveSylius-plugin

tulik/mollie-plugin
===================

Mollie payment plugin for Sylius applications.

03[2 PRs](https://github.com/tulik/SyliusMolliePlugin/pulls)

Since May 25Pushed 1y agoCompare

[ Source](https://github.com/tulik/SyliusMolliePlugin)[ Packagist](https://packagist.org/packages/tulik/mollie-plugin)[ RSS](/packages/tulik-mollie-plugin/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

[![](https://camo.githubusercontent.com/44fe43a07538aecd0a282b81d3f72f127329b81a913f36f0e018501b1a663be8/68747470733a2f2f6269746261672e696f2f77702d636f6e74656e742f75706c6f6164732f323032302f31302f6d6f6c6c69652d31303234783533352e706e67)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_mollie)
============================================================================================================================================================================================================================================================================================================================================

[](#)

Mollie Payments Plugin for Sylius
=================================

[](#mollie-payments-plugin-for-sylius)

---

[![](https://camo.githubusercontent.com/2f5a8d16ec212d70b3ce4539c4b1c32b83392d6aaccbacc28f9e1b3fd9e31872/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6269746261672f6d6f6c6c69652d706c7567696e2e737667) ](https://packagist.org/packages/bitbag/mollie-plugin "License") [ ![](https://camo.githubusercontent.com/66fe954fba03f4b36306693082efdfa414fb8c8af1f0732d7aa6094905b8f635/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6269746261672f6d6f6c6c69652d706c7567696e2e737667) ](https://packagist.org/packages/bitbag/mollie-plugin "Version") [ ![](https://camo.githubusercontent.com/5feb672f5b0a1e9dec7b394a379b2327cddb13d0175901fc855a97bd13aaed91/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f426974426167436f6d6d657263652f53796c6975734d6f6c6c6965506c7567696e2e737667) ](https://scrutinizer-ci.com/g/BitBagCommerce/SyliusMolliePlugin/ "Scrutinizer") [![](https://camo.githubusercontent.com/1fb4cee147ee8a8457e75da1671d9c96a4d682e6307449c265059e4872ebebb2/68747470733a2f2f706f7365722e707567782e6f72672f6269746261672f6d6f6c6c69652d706c7567696e2f646f776e6c6f616473)](https://packagist.org/packages/bitbag/mollie-plugin "Total Downloads") [![Slack](https://camo.githubusercontent.com/7c3c0528951f31d3e19ae8c1b92e612431e7864cdd59e9861aef25807340f91e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f6d6d756e697479253230636861742d736c61636b2d4646313439332e737667)](http://sylius-devs.slack.com) [![Support](https://camo.githubusercontent.com/e2e1becf96ac10cfcfae03397fd7c605cca341564088ccd453d91e1d2024a14b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f737570706f72742d636f6e74616374253230617574686f722d626c7565253544)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_mollie)

At BitBag we do believe in open source. However, we are able to do it just because of our awesome clients, who are kind enough to share some parts of our work with the community. Therefore, if you feel like there is a possibility for us working together, feel free to reach us out. You will find out more about our professional services, technologies and contact details at [https://bitbag.io/](https://bitbag.io/?utm_source=github&utm_medium=referral&utm_campaign=plugins_mollie).

Table of Content
----------------

[](#table-of-content)

---

- [Overview](#overview)
- [Support](#we-are-here-to-help)
- [Installation](#installation)
    - [Requirements](#requirements)
    - [Usage](#usage)
    - [Customization](#customization)
    - [Testing](#testing)
    - [Recurring subscription (internal CRON)](doc/recurring.md)
    - [Frontend part](#frontend)
- [Recurring payments](doc/recurring.md)
- [About us](#about-us)
    - [Community](#community)
- [Demo Sylius shop](#demo-sylius-shop)
- [Additional Sylius resources for developers](#additional-resources-for-developers)
- [License](#license)
- [Contact](#contact)

Overview
========

[](#overview)

---

[![Screenshot showing payment methods show in shop](doc/payment_methods_shop.png)](doc/payment_methods_shop.png)

[![Screenshot showing payment methods show in admin](doc/payment_methods_admin.png)](doc/payment_methods_admin.png)

[![Screenshot showing payment method config in admin](doc/payment_method_config.png)](doc/payment_method_config.png)

Mollie is the most popular and advanced payment gateway integration with Sylius. This plugin is officially certified by Mollie. The integration currently supports the following payment methods:

1. Credit Cards (Master Card, VISA, American Express)
2. PayPal
3. ApplePay
4. Klarna
5. iDEAL
6. SEPA
7. SOFORT
8. EPS
9. Giropay
10. KBC/CBC Payment Button
11. Przelewy24
12. ING Home'Pay
13. Belfius Pay Button
14. Gift cards
15. Apple Pay Direct

Few words from Mollie: Our mission is to create a greater playing field for everyone. By offering convenient, safe world-wide payment solutions we remove barriers so you could focus on growing your business. Being authentic is our baseline.

Mollie is one of Europe's fastest-growing fin-tech companies. We provide a simple payment API, that enables webshop and app builders to implement more than twenty different payment methods in one go. Our packages and plugins are completely open-source, freely available, and easy to integrate into your current project.

Mollie thrives on innovation. When we started we spearheaded the payments industry by introducing effortless payment products that were easier, cheaper, and more flexible than what the rigid, cumbersome banks could do. Now, more than a decade later, trusted by 70.000+ businesses, Mollie is still building innovative products and working hard to make payments better.

We are here to help
-------------------

[](#we-are-here-to-help)

This **open-source plugin was developed to help the Sylius community** and make Mollie payments platform available to any Sylius store. If you have any additional questions, would like help with installing or configuring the plugin or need any assistance with your Sylius project - let us know!

[![](https://camo.githubusercontent.com/bc809b81359538ae823cb36f284286a258f910db2498c8ba92faad4c30344b57/68747470733a2f2f6269746261672e696f2f77702d636f6e74656e742f75706c6f6164732f323032302f31302f627574746f6e2d636f6e746163742e706e67)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_mollie)

Installation
============

[](#installation)

---

### Requirements

[](#requirements)

We work on stable, supported and up-to-date versions of packages. We recommend you to do the same.

PackageVersionPHP^7.2ext-json: \*mollie/mollie-api-php^2.0sylius/admin-order-creation-plugin^0.9.0sylius/refund-plugin^1.0.0-RC.3sylius/sylius^1.7.0---

For the full installation guide please go to [installation](doc/installation.md)

Usage
-----

[](#usage)

---

During configuration first, save the keys to the database and then click "Load methods"

### Rendering Mollie credit card form

[](#rendering-mollie-credit-card-form)

You can use `BitBagSyliusMolliePlugin:DirectDebit:_form.html.twig` and `@BitBagSyliusMolliePlugin/Grid/Action/cancelSubscriptionMollie.html.twig` templates for adding the form to supplementing the direct debit card data from and cancel the subscription form the Twig UI.

For an example on how to do that, take a look at [these source files](tests/Application/templates/bundles/SyliusShopBundle).

Customization
-------------

[](#customization)

---

##### You can [decorate](https://symfony.com/doc/current/service_container/service_decoration.html) available services and [extend](https://symfony.com/doc/current/form/create_form_type_extension.html) current forms.

[](#you-can-decorate-available-services-and-extend-current-forms)

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

```
$ bin/console debug:container bitbag_sylius_mollie_plugin

```

Plugin Development
------------------

[](#plugin-development)

---

### Instalation

[](#instalation)

```
$ composer install
$ cd tests/Application
$ yarn install
$ yarn encore dev
$ bin/console assets:install -e test
$ bin/console doctrine:database:create -e test
$ bin/console doctrine:schema:create -e test
$ symfony server:start
$ open http://localhost:8080 // or the port showed in your terminal while runing command with symfony server:start

```

- Also in tests/Application/config/packages/webpack\_encore.yaml, make sure there is such configuration:

```
webpack_encore:
    output_path: '%kernel.project_dir%/public/build/default'
    builds:
        mollie-admin: '%kernel.project_dir%/public/build/mollie-admin'
        mollie-shop: '%kernel.project_dir%/public/build/mollie-shop'

```

- Also make sure you have such configuration in your shop and admin views directory:

```
in: src/Resources/views/Shop/_javascripts.html.twig:

{{ encore_entry_script_tags('shop-entry', null, 'mollie-shop') }}
{{ encore_entry_script_tags('plugin-shop-entry', null, 'mollie-shop') }}

in: src/Resources/views/Shop/_stylesheets.html.twig:
{{ encore_entry_link_tags('shop-entry', null, 'mollie-shop') }}
{{ encore_entry_link_tags('plugin-shop-entry', null, 'mollie-shop') }}

```

```
in: src/Resources/views/Admin/_javascripts.html.twig:
{{ encore_entry_script_tags('admin-entry', null, 'mollie-admin') }}
{{ encore_entry_script_tags('plugin-admin-entry', null, 'mollie-admin') }}

in: src/Resources/views/Admin/_stylesheets.html.twig:
{{ encore_entry_link_tags('admin-entry', null, 'mollie-admin') }}
{{ encore_entry_link_tags('plugin-admin-entry', null, 'mollie-admin') }}

```

### Frontend

[](#frontend)

#### Starting server and building assets

[](#starting-server-and-building-assets)

- Go to `./tests/Application/` directory
- Run `symfony server:start` in terminal. It will start local server.
- Run `yarn watch` in terminal. It will watch your changes in admin and shop catalogs: `../../src/Resources/assets/admin/..`, `../../src/Resources/assets/shop/..`
- Run `yarn dev` in terminal to build your assets once in development mode.
- Run `yarn encore production` in terminal, to build your assets once in production mode - its required before creating every Pull Request.
- All assets (mollie assets + sylius base assets) will be build in:

```
tests/application/public/build/mollie-admin/..
tests/application/public/build/mollie-shop/..

```

#### Rebuilding assets in your root/SRC directory

[](#rebuilding-assets-in-your-rootsrc-directory)

- `bin/console assets:install`

#### CSS &amp; JS files directory you can edit and work with:

[](#css--js-files-directory-you-can-edit-and-work-with)

- Admin: go to `./src/Resources/assets/admin/**/`
- Shop: go to `./src/Resources/assets/shop/**/`

Testing
-------

[](#testing)

```
$ bin/behat
$ bin/phpspec run

```

About us
========

[](#about-us)

---

BitBag is a company of people who **love what they do** and do it right. We fulfill the eCommerce technology stack with **Sylius**, Shopware, Akeneo and Pimcore for PIM, eZ Platform for CMS and VueStorefront for PWA. Our goal is to provide real digital transformation with an agile solution that scales with the **clients’ needs**. Our main area of expertise includes eCommerce consulting and development for B2C, B2B, and Multi-vendor Marketplaces.
We are advisers in the first place. We start each project with a diagnosis of problems, and an analysis of the needs and **goals** that the client wants to achieve.
We build **unforgettable**, consistent digital customer journeys on top of the **best technologies**.Based on a detailed analysis of the goals and needs of a given organization we create dedicated systems and applications that let businesses grow.
Our team is fluent in **Polish, English, German and French**. That is why our cooperation with clients from all over the world is smooth.

**Some numbers from BitBag regarding Sylius:**

- 50+ **experts** including consultants, UI/UX designers, Sylius trained front-end and back-end developers,
- 120+ projects **delivered** on top of Sylius,
- 25+ **countries** of BitBag’s customers,
- 4+ **years** in the Sylius ecosystem.

**Our services:**

- Business audit/Consulting in the field of **strategy** development,
- Data/shop **migration**,
- Headless **eCommerce**,
- Personalized **software** development,
- **Project** maintenance and long term support,
- Technical **support**.

**Key clients:** Mollie, Guave, P24, Folkstar, i-LUNCH, Elvi Project, WestCoast Gifts.

---

If you need some help with Sylius development, don't be hesitated to contact us directly. You can fill the form on [this site](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_mollie) or send us an e-mail to !

---

[![](https://camo.githubusercontent.com/c74a1586e9e31f97741dcc138d46fada78f3a8aa59484a475f8df6da53d3c395/68747470733a2f2f6269746261672e696f2f77702d636f6e74656e742f75706c6f6164732f323032302f31302f6261646765732d73796c6975732e706e67)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_mollie)

Community
---------

[](#community)

---

For online communication, we invite you to chat with us &amp; other users on [Sylius Slack](https://sylius-devs.slack.com/).

Demo Sylius Shop
================

[](#demo-sylius-shop)

---

We created a demo app with some useful use-cases of plugins! Visit [sylius-demo.bitbag.io](https://sylius-demo.bitbag.io/) to take a look at it. The admin can be accessed under [sylius-demo.bitbag.io/admin/login](https://sylius-demo.bitbag.io/admin/login) link and `sylius: sylius` credentials. Plugins that we have used in the demo:

BitBag's PluginGitHubSylius' StoreACL Plugin*Private. Available after the purchasing.*Braintree PluginCMS PluginElasticsearch PluginMailchimp PluginMultisafepay PluginWishlist Plugin**Sylius' Plugin****GitHub****Sylius' Store**Admin Order Creation PluginInvoicing PluginRefund Plugin**If you need an overview of Sylius' capabilities, schedule a consultation with our expert.**

[![](https://camo.githubusercontent.com/4c6ea591dec86437168f65512783b6a71f9db2f7a029df90625601562f9afefe/68747470733a2f2f6269746261672e696f2f77702d636f6e74656e742f75706c6f6164732f323032302f31302f627574746f6e5f667265655f636f6e73756c61746174696f6e2d312e706e67)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_mollie)

Additional resources for developers
-----------------------------------

[](#additional-resources-for-developers)

---

To learn more about our contribution workflow and more, we encourage you to use the following resources:

- [Sylius Documentation](https://docs.sylius.com/en/latest/)
- [Sylius Contribution Guide](https://docs.sylius.com/en/latest/contributing/)
- [Sylius Online Course](https://sylius.com/online-course/)

License
-------

[](#license)

---

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

Contact
-------

[](#contact)

---

If you want to contact us, the best way is to fill the form on [our website](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_mollie) or send us an e-mail to  with your question(s). We guarantee that we answer as soon as we can!

[![](https://camo.githubusercontent.com/139aa8577c6b91c54c3bc509e5ae3f9aac71464e8c92d2cb1c46ee11bbce1fe0/68747470733a2f2f6269746261672e696f2f77702d636f6e74656e742f75706c6f6164732f323032302f31302f666f6f7465722e706e67)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_mollie)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d0aef6efc7b9b2ea2dde315eed4c7d2a3fefdf3fd06bf6fe82b9d30b11a0084?d=identicon)[tulik](/maintainers/tulik)

---

Top Contributors

[![daniel8702](https://avatars.githubusercontent.com/u/6348491?v=4)](https://github.com/daniel8702 "daniel8702 (173 commits)")[![Harvel218](https://avatars.githubusercontent.com/u/59796176?v=4)](https://github.com/Harvel218 "Harvel218 (74 commits)")[![kptLucek](https://avatars.githubusercontent.com/u/6822027?v=4)](https://github.com/kptLucek "kptLucek (56 commits)")[![patrick477](https://avatars.githubusercontent.com/u/21317699?v=4)](https://github.com/patrick477 "patrick477 (50 commits)")[![marekrzytki](https://avatars.githubusercontent.com/u/61479357?v=4)](https://github.com/marekrzytki "marekrzytki (31 commits)")[![RyleySill93](https://avatars.githubusercontent.com/u/20671872?v=4)](https://github.com/RyleySill93 "RyleySill93 (21 commits)")[![MarcinKuklinskiBitBag](https://avatars.githubusercontent.com/u/182501146?v=4)](https://github.com/MarcinKuklinskiBitBag "MarcinKuklinskiBitBag (17 commits)")[![bitbager](https://avatars.githubusercontent.com/u/28542010?v=4)](https://github.com/bitbager "bitbager (17 commits)")[![DieterHolvoet](https://avatars.githubusercontent.com/u/3606531?v=4)](https://github.com/DieterHolvoet "DieterHolvoet (5 commits)")[![senghe](https://avatars.githubusercontent.com/u/2512726?v=4)](https://github.com/senghe "senghe (4 commits)")[![vvasiloi](https://avatars.githubusercontent.com/u/7114562?v=4)](https://github.com/vvasiloi "vvasiloi (4 commits)")[![xNordo](https://avatars.githubusercontent.com/u/57177980?v=4)](https://github.com/xNordo "xNordo (4 commits)")[![Jeroen-G](https://avatars.githubusercontent.com/u/1116853?v=4)](https://github.com/Jeroen-G "Jeroen-G (3 commits)")[![JoppeDC](https://avatars.githubusercontent.com/u/9723620?v=4)](https://github.com/JoppeDC "JoppeDC (2 commits)")[![wimulkeman](https://avatars.githubusercontent.com/u/964346?v=4)](https://github.com/wimulkeman "wimulkeman (2 commits)")[![tsiwarski](https://avatars.githubusercontent.com/u/63642967?v=4)](https://github.com/tsiwarski "tsiwarski (2 commits)")[![kuba-end](https://avatars.githubusercontent.com/u/57114627?v=4)](https://github.com/kuba-end "kuba-end (1 commits)")[![blackshadev](https://avatars.githubusercontent.com/u/2979104?v=4)](https://github.com/blackshadev "blackshadev (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![gromen](https://avatars.githubusercontent.com/u/14578910?v=4)](https://github.com/gromen "gromen (1 commits)")

### Embed Badge

![Health badge](/badges/tulik-mollie-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/tulik-mollie-plugin/health.svg)](https://phpackages.com/packages/tulik-mollie-plugin)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
