Shopware 6 Use payment methods only in certain countries

Shopware Rule Builder Tutorial

We’ll tell you how to use Shopware 6 payment methods only in certain countries in this Shopware Rule Builder tutorial. This means that you can use the Rule Builder to exclude or privilege certain countries for certain payment types.

Shopware 6 Use payment methods only in certain countries - This is how it works

This episode is once again a Shopware 6 episode and deals again with the Rule Builder. We want to show you with this video how you can assign payment types to certain countries. This means that with prepayment bspw. can only be paid in Switzerland, but not by cash on delivery, which is possible in all other countries. These are two different processes that we will now demonstrate to you. If you are new to the eBakery YouTube channel but are interested in Shopware 5 or 6 in general, feel free to check out our packed playlist that we have linked to you here, where we have gone through the system from A to Z once. You will also benefit from a subscription, because you will always be informed when there is something new with us and thus stay up-to-date.

The preparations

But now off to the Shopware 6 backend. First of all, you should check that your preferred country for which you want to create rules is enabled. To do this, we go to the settings and to countries or countries if English is selected as the system language and use the search mask to enter the first letters of your country. As we can see, Switzerland is enabled. Then the next step is to check the payment methods. We do that directly in our sales channel. We scroll down and see these 4 methods already integrated. So also prepayment. This would allow you to pay in advance from any enabled country. This means that the basic requirements have already been checked.

Shopware 6 Use payment methods only in certain countries - Rule 1

Now we go back to the settings, but this time to Payments, i.e. payment methods. Prepayment is the method for which we want to integrate a rule, so let’s go to the details view for that. We can see here that no rule has been integrated yet, which is what this empty field tells us. Now we are able to create a new rule. We call this “Shipping CHE” which is the three letter code of Switzerland. We can set a priority for the rule and enter a description for ourselves for better understanding.
The rule is then as follows: The condition is again the billing country that the customer has stored in his customer account. This “is one of” and at the end the country comes in, so Switzerland. When we then save, this new rule is both enabled for that particular payment type and stored as a rule in the Rule Builder.

Shopware 6 Use payment methods only in certain countries - Rule 2

This now has the effect of enabling Swiss customers to purchase in advance, but of course also to purchase all other payment methods stored in the sales channel. We do not want that, only one payment method should be offered. Therefore, we first go into one of the others, in our case simply last name and create exactly the opposite rule here. We give this again an identifying name and say “invoice country” “is not one of” and pick out Switzerland again. I’ll do exactly the same for the other payment methods – we’ll see each other again in the store frontend.

Verification in the frontend

We have now registered with a customer account whose deposited address is in Switzerland. We are logged in, have already added something to our shopping cart, and are now looking at what payment methods are offered in the checkout area. And as we can see, our newly created rules worked and we can order only by prepayment. If we make the comparison again and order outside Switzerland, we see that the other payment methods activated and stored in the sales channel are offered.

Shopware agency eBakery

So you can use the Rule Builder to separate payments by country. If there are any questions about this, leave them in the comments. If you have the problem of having an online store that doesn’t get any traffic or on the other hand one that gets traffic but the shopping cart abandonment rate is immensely high, then this could be due to your marketing, design or the missing or poor user experience. But that is not a problem. We at eBakery are happy to help you as a Shopware agency.

Do you have questions or need an individual offer? Do not hesitate to contact us.


    eBakery requires the contact information you provide to contact you regarding our products and services. You can unsubscribe from these notifications at any time. For information on unsubscribing, as well as our privacy practices and commitment to protecting your privacy, please see our Privacy Policy.*.

    • 0/5
    • 0 ratings
    0 ratingsX
    Very bad! Bad Hmmm Oke Good!
    0% 0% 0% 0% 0%

    Haben Sie Fragen oder brauchen ein individuelles Angebot? Zögern Sie nicht, uns zu kontaktieren.


      eBakery requires the contact information you provide to contact you regarding our products and services. You can unsubscribe from these notifications at any time. For information on unsubscribing, as well as our privacy practices and commitment to protecting your privacy, please see our Privacy Policy.*.

      Related Posts

      Leave a Comment

      Hat dir der Artikel gefallen?

      Dann melde dich doch zu unserem Newsletter an!

      Neben unseren Blog Themen informieren wir dich darin regelmäßig zu neuen Features und Tutorials