Mollie payment plugin for Sylius applications.
This package is auto-updated.
Last update: 2021-10-12 07:32:07 UTC
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/.
- About us
- Demo Sylius shop
- Additional Sylius resources for developers
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:
- Credit Cards (Master Card, VISA, American Express)
- KBC/CBC Payment Button
- ING Home'Pay
- Belfius Pay Button
- Gift cards
- 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.
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!
We work on stable, supported and up-to-date versions of packages. We recommend you to do the same.
For the full installation guide please go to installation
During configuration first, save the keys to the database and then click "Load methods"
You can use
@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.
Run the below command to see what Symfony services are shared with this plugin:
$ bin/console debug:container bitbag_sylius_mollie_plugin
For a better integration with Mollie's recurring subscription, you can use state machine callback.
- Processing: Subscription created but not active yet (startdate higher than "now")
- Active: Subscription is in progress. Not all payments are done, but we wait until the next payment date
- Cancelled: The merchant cancelled the subscription
- Suspended: Mandates became invalid, so the subscription is suspended
- Completed: All subscription payments are executed according to the timetable
$ 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:
- Go to
symfony server:startin terminal. It will start local server.
yarn watchin terminal. It will watch your changes in admin and shop catalogs:
yarn devin terminal to build your assets once in development mode.
yarn encore productionin 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:
- Admin: go to
- Shop: go to
$ bin/behat $ bin/phpspec run
BitBag is an agency that provides high-quality eCommerce and Digital Experience software. Our main area of expertise includes eCommerce consulting and development for B2C, B2B, and Multi-vendor Marketplaces. The scope of our services related to Sylius includes:
- Consulting in the field of strategy development
- Personalized headless software development
- System maintenance and long-term support
- Plugin development
- Data migration
Some numbers regarding Sylius:
- 20+ experts including consultants, UI/UX designers, Sylius trained front-end and back-end developers,
- 100+ projects delivered on top of Sylius,
- Clients from 20+ countries
- 3+ years in the Sylius ecosystem.
For online communication, we invite you to chat with us & other users on Sylius Slack.
We created a demo app with some useful use-cases of plugins! Visit b2b.bitbag.shop to take a look at it. The admin can be accessed under b2b.bitbag.shop/admin/login link and sylius: sylius credentials. Plugins that we have used in the demo:
If you need an overview of Sylius' capabilities, schedule a consultation with our expert.
To learn more about our contribution workflow and more, we encourage ypu to use the following resources:
This plugin's source code is completely free and released under the terms of the MIT license.