boxblinkracer / docker-sw6-mollie

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mollie Shopware 6 Plugin Showcase

This is a ready to use showcase Docker image to play around with the Mollie plugin for Shopware 6.

1. Start Image

All you need to do is to install Docker on your machine and run this Docker image.

That's it.

You can immediately add your Mollie API key in the plugin configuration and start your checkout.

docker run --rm -p 80:80 boxblinkracer/shopware6-mollie

After the image is downloaded and started you can access the storefront using http://localhost.

The Administration can be found at http://localhost/admin with username admin and password shopware.

2. Configure API Key

Open the Shopware Administration and navigate to Extensions > My Extensions in the sidebar.

Press the 3 dots in the Mollie plugin row and click on configure.

Now just place your Test API key in the corresponding field and press save.

The Test API key can also be set using an environment variable.

docker run --rm -p 80:80 --env MOLLIE_TEST_API_KEY=test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx boxblinkracer/shopware6-mollie

You can of course use all other features of the Mollie plugin as well.

3. Start Checkout

The showcase image is already pre-configured for you. All payment methods are already enabled and assigned to the Sales Channels (normally this needs to be done manually).

Also some additional products for edge cases are already installed for you.

Place an item to the cart, select a Mollie payment method and start your checkout. You should already come to the Mollie sandbox page in test mode.

4. Plugin Logs

In case of errors or problems, just open the url http://localhost/logs.

In the center of the top navigation bar, just click on "Apache Access Logs" which is usually selected by default. This is a dropdown. Just select the Mollie logs and that's it.

5. Environment Variables

You can configure a few things and set some environment variables to change the behavior of the image. This can either be done as inline parameter or in a docker-compose file.

Environment Variable Description
MOLLIE_TEST_API_KEY Set the Mollie Test API key
MOLLIE_WEBHOOK_DOMAIN Sets a custom domain that Mollie will send webhooks to

6. Where to go from here

If you want to learn more about the Mollie plugin for Shopware, head over to the official WIKI documentation: https://github.com/mollie/Shopware6/wiki

7. How it's built

This showcase image is built using https://dockware.io and the Shopware 6 plugin for Mollie. Every feature from dockware is part of this image.

The image is built every night, so you usually always have access to the latest Shopware version or Mollie version, once one of them is released.

8. Reliability

Although I'm one of the creators and maintainers of the Mollie plugins, this is a private and community project.

No reliability or warranty is given for this image.

About


Languages

Language:Shell 61.5%Language:Makefile 22.1%Language:Dockerfile 16.3%