Read more
Learn more about Shopware in our Partner Directory.
Our plugin for Shopware 6 gives you access to the native payment features of the Adyen payments platform.
Features
- Credit cards: accept credit card payments on your website and mobile application, without redirecting to an external website. Sensitive cardholder data is collected securely using our Card Component, which reduces your PCI DSS-compliance requirements.
- Dynamic 3D Secure 2 authentication, including AVS checks.
- Local payment methods: accept local payment methods including iDEAL, Klarna, Google Pay, and many others.
- Tokenization: offer returning shoppers a faster checkout experience by saving their card details.
- Revenue Protect: use our risk management system to identify and block fraudsters, while reducing friction for legitimate shoppers.
- Adyen Giving: allow shoppers to donate to a chosen nonprofit at checkout. This feature is available with card payments and iDEAL payments.
Supported versions
Try it out!
You can find the latest version of our plugin on GitHub.
This documentation reflects the latest version of the plugin. You can find the latest version on GitHub. Our plugin supports the following:
- Shopware v6.3.1.1 or later, using PHP 7.0 or later.
We may be unable to provide support if you are not using the default Shopware checkout. We do not recommend customizing the plugin, because this could make it harder to upgrade and maintain your integration. If you decide to customize, we recommend that you:
- Keep track of the custom code added to your integration.
- Create an issue on GitHub if you want to suggest a new feature for the plugin.
Support levels
We provide three levels of support for major versions of the plugin:
- Level 1: Full support.
- Level 2: High priority bug fixes and security updates.
- Level 3: Security updates only.
Major version | Release date | Level 1 support until | Level 2 support until | Level 3 support until |
---|---|---|---|---|
V2 | March 2021 | March 2022 | October 2022 | March 2023 |
V3 | June 2021 | Schedule not yet available | ||
V4 | In development | 12 months after release | 18 months after release | 24 months after release |
When the level 3 support period has ended, security updates will no longer be provided and Adyen support ends. You should upgrade to a later version or consider the plugin your own custom integration.
Before you begin
Implementation examples
Try it out on GitHub!
Before you begin to integrate, make sure you have followed the Get started with Adyen guide to:
- Get an overview of the steps needed to accept live payments.
- Create your test account.
Step 1: Install the plugin
You have the following options for installing the plugin:
- Download from the Shopware Store: This is the easiest option if you have a Shopware Account.
- Install with Composer: This is the easiest option if you are working on your local environment.
- Download from GitHub: More advanced option for developers, but makes it easier to install updates to the plugin that we do between releases.
Step 2: Generate an API key
To authenticate API requests from Shopware, you need to provide an API key. You will need to enter the API key when setting up the Shopware back end in Step 5.
To generate an API key:
- Log in to your Customer Area.
- Go to Developers > API credentials, and select the API credential username for your integration, for example ws@Company.[YourCompanyAccount].
- Under Server settings > Authentication select the API key tab.
- Select Generate API key.
- Select the copy icon and store your API key securely in your system.
- Select Save changes.
Make sure that your API credential has the following permissions:
- API Clientside Encryption Payments role
- Checkout webservice role
Step 3: Generate a client key
The plugin needs the client key to show the input fields for card details.
The client key is linked to one or more allowed origins — the domains from which we expect to get your client-side requests. For example, if you are collecting shopper's payment information at: https://example.org/checkout
, you would need to link the domain https://example.org
as an allowed origin to your client key.
To generate a client key:
- Log in to your Customer Area.
- Go to Developers > API credentials, and select the credential username for your integration, for example ws@Company.[YourCompanyAccount].
- Under Client settings > Authentication select the Client key tab.
- Select Generate client key.
- Select the copy icon and store your client key securely in your system.
- Under Add allowed origins, enter your domains and select Add.
- Select Save changes.
You now have a client key for your test environment. To get a client key for your live environment, follow the same steps in your live Customer Area.
You will need to copy the test and live client keys and add them in the Shopware back end as described in Step 5.
Step 4: Set up webhooks
Adyen uses webhooks to inform your Shopware platform of payment status changes. For more information, refer to Webhooks.
To set up webhooks:
-
In your Customer Area, go to Developers > Webhooks. If you want to configure webhooks for a merchant account, switch to that merchant account.
-
Select Webhook.
-
From the list of webhooks, next to Standard webhook, select Add.
-
Under General, configure the following:
Setting Description Enabled Select the toggle to enable or disable the webhook. Version The webhook version. Description Your description of the webhook. -
Under Server configuration, configure the following:
Setting Description URL Your website URL followed by /adyen/notification. Method JSON -
Under Security, configure the following:
Setting Description Basic authentication Enter your server's username and password. You need to enter these credentials when you set up the Shopware back end later. HMAC Key Generate the HMAC Key, copy it, and store it securely in your system. You need to enter HMAC key when you set up the Shopware back end later. -
Select Save configuration.
Step 5: Configure the plugin
- Log in to the Shopware back end and go to Settings > System > Plugins.
- Find the Adyen Payment plugin, and select the action button (...) > Config.
-
Fill out the following fields:
If you have more than one Shopware shop, you need to set up these configurations for each shop.
Field Notes Required field Merchant account Name of your Adyen merchant account for which the payments will be processed. API Key for test Your API key from Adyen test Customer Area. In the live environment, you can enter a dummy value here. API Key for live Your API key from Adyen live Customer Area. In the test environment, you can enter a dummy value here. Client Key for test Your client key from your Adyen test Customer Area. Client Key for live Your client key from your Adyen live Customer Area. Environment Select whether you want to enable live (production) mode or keep using test mode. Live endpoint URL prefix The prefix for your live URL. Get it from your Adyen live Customer Area > Developers > API URLs > Prefix. This field is only required for live (production) mode.Username for standard notifications The username for basic authentication that you generated in Step 4. Password for standard notifications The password for basic authentication that you generated in Step 4. HMAC Key for test The HMAC key that you generated in Step 4. HMAC Key for live The HMAC key that you generated in Step 4.
Step 6: Add payment methods
- Log in to your Shopware back end and go to Storefront.
- Under Payment and shipping, add payment methods to show on the checkout page.
- Select Save.
- Add the payment methods in your Customer Area.
- Some payment methods have additional setup instructions which you can find on the payment method page in our documentation. For example, for Apple Pay, you must use Adyen's Apple Pay certificate.
Stored payment methods
The plugin allows you to securely store shopper's payment details giving your returning shoppers a faster checkout experience. To enable or disable this functionality:
- Log in to your Shopware back end and go to Storefront.
- Under Payment and shipping, add or remove the Stored Payment Methods | Adyen Payment payment method.
- Select Save.
Updating payment method logos
By default, the Shopware 6 plugin automatically keeps the logos for all your payment methods up to date.
To turn off automatic logo updating, in the Shopware 6 configuration file platform/src/Core/Framework/Resources/config/packages/shopware.yaml
, set shopware.media.enable_url_upload_feature
to false.
To manually update the logos, go to your Shopware 6 project root directory and run:
bin/console adyen:fetch-logos
Donations
With our Giving feature, you can give shoppers the option to donate to a nonprofit after they have placed an order. Make sure that the nonprofit is onboarded at Adyen before you configure this feature.
To configure donations using Giving:
-
In your Shopware environment, go to Extensions > My Extensions.
-
In the Adyen Payments, click Configure.
-
In your plugin configuration panel, scroll down to Adyen Giving. Fill out the following fields:
Field Description Enabled Select Yes to enable Giving. Charity merchant account Adyen merchant account name for the charity. Charity name Name of the charity displayed on the Adyen Giving component. Charity description Description of the charity. Charity website Link to the charity website. Donation amounts Suggested amounts that the shopper can donate using the order currency, separated by commas. The minimum amount is the equivalence of EUR 1 in your selected currency. Charity logo Logo displayed on the Adyen Giving component. Background image Background image of the Adyen Giving component. -
In the Customer Area, go to Developers > *Additional data.
-
In the Card section, select Variant.