On Shopware 6 you rarely build a payment gateway yourself. You choose a payment provider whose Shopware extension supports your Shopware version, the payment methods your buyers use in each country and a card flow that keeps card data off your servers; you configure it per sales channel; and you test captures, refunds and failed or abandoned payments before going live. Custom development is the answer only when no maintained extension covers your provider or payment flow.
When you build an online store, you cannot do without card and other online payments, and those payments run through a payment gateway. This article explains what a Shopware payment gateway is, how payment works in Shopware 6, how to choose a gateway with a practical checklist, and when a custom payment extension makes sense. Shopware facts are taken from Shopware's own documentation and store, checked on 18 November 2026.
What Is a Shopware Payment Gateway?
The payment gateway is the bridge between your store and the payment processor that collects the money from your customer. When a customer enters payment details, the gateway makes sure the data reaches the payment processor securely, and it returns the result of the transaction to your store.
In Shopware, the gateway arrives as a payment extension (a plugin or app) from a payment provider or from Shopware itself. The extension adds one or more payment methods to the checkout and a payment handler that talks to the provider.
The Main Task of the Payment Gateway
A payment gateway is not the payment system itself. Its job is to provide a secure connection between your store and the payment processor the customer has chosen. The gateway takes the buyer's payment details, protects them in transit, passes them to the processor and brings the outcome of the transaction back to the store.
Because those details include card data, the reliability and security of the gateway matter for both your reputation and your day-to-day sales. Without a working gateway, the store cannot do its main job: selling.
How Does a Payment Gateway Work?
The store owner does not need to know the gateway's internals. The administrator's task is to choose a gateway and connect it to the store through the extension's settings. It still helps to understand what happens during a payment, because that is where problems show up.
The gateway comes into play after the customer has filled the cart, gone through checkout, chosen a payment method and clicked "pay". In Shopware 6, this is the sequence:
Shopware creates the order together with an open transaction, which acts as a placeholder for the payment.
The payment handler of the chosen method runs (in Shopware 6.7, a single handler either completes the payment in its pay step or returns a redirect). For a synchronous payment, it sends a request to the provider to execute or authorise the payment.
For an asynchronous payment, the handler redirects the buyer to the provider, for example to a hosted payment page or a bank.
When the buyer comes back, Shopware's finalise step (the callback URL /payment/finalize-transaction) completes the payment on the store's side.
The transaction's state changes through Shopware's state machine, as with any other order change, and the order shows the result.
In a headless setup, Shopware returns the redirect URL in its API response so that your own frontend can redirect the buyer; in the standard Storefront, the redirect happens automatically.
How a payment runs in Shopware 6, synchronous and with a redirect. Test the redirect path with a buyer who never comes back.
Shopware Payment Gateway Checklist
Use this checklist to compare payment extensions for your Shopware 6 store, and repeat the tests after every Shopware or extension update.
Check
What to look for
Where to verify
Shopware version
The extension's stated compatibility covers your exact Shopware version and the next update you plan
The extension's page in the Shopware Store
Publisher and maintenance
Published by the payment provider or by Shopware, with a recent changelog
The store listing and its changelog
Payment methods per country
The methods your buyers use in each market, in the currencies you sell in
The provider's method list; a sandbox order per country
Card data path
Card details are entered on the provider's hosted page or in its embedded fields, not posted to your server
The provider's integration guide; ask your acquirer which PCI DSS validation applies to you
Redirect payments
The order is updated correctly when the buyer returns, cancels or never comes back
A sandbox test: close the browser on the provider's page
Captures, refunds and cancellations
Capture on shipment, full and partial refunds and cancellations from the Shopware Administration, if your process needs them
A sandbox order handled end to end in the Administration
Availability rules
The method can be limited by country, customer group or cart value
Transaction, refund, chargeback, account and currency fees
The provider's contract and price list
Support
Response times and a named contact when payments fail
The provider's and the extension's support terms
Why Payment Integration in Shopware Matters for Security
When you accept card payments, the gateway handles sensitive information such as personal data and card numbers, so security has to be designed in from the start.
Tokenisation is one of the main tools. During tokenisation, the card number is replaced with a token that the store can use for later operations, such as a refund or a saved payment method, without holding the card number itself. Providers that offer hosted payment pages or embedded payment fields keep card entry on their side, so the card number never passes through your server.
PCI DSS, the payment card industry data security standard, applies to entities that store, process or transmit cardholder data. Whether and how you must validate compliance is set by the payment brands, and the PCI Security Standards Council advises merchants to ask their acquirer about validation and reporting requirements. Choosing a flow that keeps card data off your systems usually narrows what you have to secure; your acquirer confirms what applies to you.
Payment Gateway for Shopware 6
Shopware 6 is an open-source platform, published under the MIT licence; the current release line is 6.7. At its core, Shopware's payment system is made of payment handlers that add support for different payment types, and the list of payment methods is stored in the database. Payments are applied to the order's transaction, and, as with any order change, state changes go through the state machine.
There are three common ways to add a payment gateway:
Shopware Payments. Shopware's own payment service is built on PayPal infrastructure and managed in the Shopware Administration, with PayPal as the payment service provider. At the check date it was offered to merchants in Germany and Austria, with more EU markets and the United States to be added gradually. Depending on your account, countries and provider requirements, the methods may include PayPal, Pay Later, Pay upon invoice (Germany only), Klarna, credit and debit cards, Apple Pay, Google Pay, Bancontact, SEPA Direct Debit, Venmo, BLIK and EPS. It is available from Shopware 6.5.7.0 and 6.6.3.0 as an app and from 6.7.1.0 as a Shopware Service, with the Community Edition and the Rise, Evolve and Beyond plans.
PayPal for Shopware 6. This free extension from shopware AG lists PayPal Checkout, the PayPal Express button, Pay Later, Payment Upon Invoice (Germany), Venmo (US) and PayPal Zettle, plus Apple Pay, Google Pay and vaulting to save customers' payment methods. At the check date, its listed compatibility was Shopware 6.5.5.0 to 6.7.16.0.
Payment provider extensions. Many payment providers publish their own extensions in the Shopware Store. Compare them with the checklist above, starting with version compatibility and the card data path.
Whichever you choose, the configuration happens in the Administration under Settings > Commerce > Payment methods. An availability rule built in the Rule Builder decides when a method is shown, for example only for billing addresses in one country or for one customer group; leave it empty for no restriction. Activating a method is not enough: customers only see the payment methods assigned to the sales channel. A separate switch lets customers change the payment method after the order is completed, from the Orders section of their account.
Shopware supported Shopware 5 until July 2024, with security patches but no new features in the last phase, and announced that safefive would take over further commercial support for security fixes and legal compliance from then on. If your store still runs on Shopware 5, a new payment integration is a good moment to plan the move to Shopware 6 rather than invest further in the old version, and payment extensions should be chosen for the Shopware 6 version you will run.
A migration does not have to start from zero. For Antik Wein, Dinarys migrated the shop from Shopware 5 to Shopware 6 with a custom script and created custom plugins for search and navigation.
Custom Development Payment Gateway
Using a ready-made extension is usually cheaper than developing your own, and a custom integration puts more of the responsibility for testing, maintenance and security on you. Custom development makes sense when your payment provider has no maintained Shopware extension, when you need a flow the available extensions do not support, or when you are a payment provider bringing your own service to Shopware merchants.
In Shopware 6.7, a payment integration is built around a payment handler that extends Shopware's AbstractPaymentHandler class. The handler's pay method is always called during checkout; finalize is called only when pay returns a redirect; validate is always called and can be used to check the cart during checkout; refund and recurring payments are supported through the same handler. The handler service is tagged shopware.payment.method, and the payment method is usually created when the plugin is installed, with a unique technicalName that is required from 6.7. When the plugin is uninstalled, the payment method should be deactivated rather than deleted. The separate synchronous, asynchronous, prepared, recurring and refund handler interfaces of earlier versions have been removed, so older custom integrations need rework before an update to 6.7.
Dinarys has built this kind of integration for a payment company. For ConnectPay, a Lithuanian e-money institution, Dinarys developed modules for Magento and Shopware that let stores collect payments from customer bank accounts in the Netherlands, Germany, Finland and Lithuania. The modules cover admin settings, a new payment method at checkout, an authorisation flow after the order and payment status updates through the API, and the team prepared guides and instructions for uploading the modules to the Magento and Shopware marketplaces.
For the Magento side of the same kind of work, see our guide on how to create a Magento 2 payment module. If you are planning the development or integration of a custom payment gateway, you can contact the Dinarys experts to discuss it.
How to Choose the Best Payment Gateway?
When choosing a gateway, pay attention to the following.
Security
Payment data must travel over encrypted connections (TLS), and the provider should be able to show how it meets PCI DSS for the parts it runs. Prefer tokenisation and hosted or embedded payment fields, and protect your own access to the provider's merchant dashboard with two-factor authentication. These are the basics; fraud screening and 3-D Secure options are worth comparing too.
Processing speed and convenience
How customers perceive your store depends on the payment step too. A slow or confusing payment flow costs sales: in Baymard Institute's survey of reasons for abandoning checkout, 17% of shoppers cited a long or complicated checkout process and 10% a declined card (shares excluding shoppers who were just browsing). Test how quickly the payment step loads and how easily a buyer can retry after a failed payment.
Cost
You will pay fees on transactions carried out on your behalf, so compare the full cost of each gateway: transaction fees, refund fees, chargeback fees, account fees and any extra charges for particular payment methods or currencies.
Compatibility
Check how the chosen service fits your current platform, both technically and in design. On Shopware, that starts with the extension's stated compatibility range and continues with your theme and any checkout customisations.
Payment form location
Some gateways let customers pay on your site through embedded fields, while others redirect them to the provider's page to complete the payment. Embedded fields keep the buyer in your checkout; a redirect can reassure buyers who know the provider. Both can keep card data off your server; the difference is the experience you want and how the extension handles a buyer who does not return.
Quality support service
No service is completely stable, and technical problems will happen. When support responds on time, issues rarely affect the overall experience; slow or unqualified support can leave orders unpaid and customers waiting for days. Support is not the first criterion, but its absence can harm your business.
Is the Gateway Supported by your E-commerce Platform?
Depending on your ecommerce platform, some gateways are available and others are not. For Shopware, check the Shopware Store for an extension from the provider or from Shopware, its compatibility range and its changelog. If there is none, plan either a different provider or a custom integration.
Conclusion
Finding a payment gateway for Shopware is not difficult; choosing one that fits your countries, payment methods, card data flow and processes takes more care. Shortlist two or three providers with the checklist, run sandbox orders through the full cycle, including refunds and abandoned redirects, and check the fees and support terms before you sign.
If you have questions about a payment gateway for Shopware, need a consultation or want an integration for your online store, contact us: the Dinarys team will be happy to help. You can also read about Dinarys joining the Shopware solution partnership.