Skip to content

Payment Methods

Christian Dangl edited this page Feb 17, 2021 · 2 revisions

Mollie creates Standard Shopware Payment Methods automatically when installing the plugin or when you update them manually afterwards.

The approach of creating simple standard payment methods in Shopware means you have the advantage to mix these with things like shipping costs, risk management - so everything that Shopware allows you to do with payment methods.

What Payment Methods are available?

The plugin will create payment methods for all methods that are allowed and enabled in your Mollie Account.

This means you need to assign the correct "API Key" and a "Test Mode" setting in the plugin before importing payment methods.

If a payment method is somehow not created, it might have to do with either invalid credentials or that not all required payment methods are unlocked in Mollie.

Importing Payment Methods

There are different ways to import payment methods.

1. Plugin Activation

When you activate your plugin and you already have valid API Keys existing, then payment methods are automatically installed in your Shopware system.

2. Update Button in Plugin Configuration

If you want to update payment methods while your plugin is already installed, you can use the button in the Plugin configuration. It will add new payment methods or update existing ones.

Custom configuration like "active", "description" and more will not be changed when doing this.

3. Update using CLI Command

You can also run the import and update command directly in your command line interface with this command:

php bin/console mollie:payments:import

Logs

All important changes to the payment methods are automatically logged in the Mollie Shopware logs.

Simple updates to existing payment methods are only logged in DEBUG mode and might not be visible or relevant if your Logging Level configuration is set to something higher than DEBUG.

Clone this wiki locally