# Discount code = free order = bug

**URL:** https://forum.shopware.com/t/discount-code-free-order-bug/71327
**Category:** General Questions (EN)
**Created:** [2. Dezember 2020 um 20:51 UTC](https://forum.shopware.com/t/discount-code-free-order-bug/71327 "2020-12-02T20:51:53Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![powolnymarcel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/powolnymarcel/32/13924_2.png) [@powolnymarcel](https://forum.shopware.com/u/powolnymarcel)
#### Post date: [2. Dezember 2020 um 20:51 UTC](https://forum.shopware.com/t/discount-code-free-order-bug/71327/1 "2020-12-02T20:51:53Z")

</div>

Hello,

We have created a promo code : “testcode” value = 25€  
We tested an order, we bought an item that cost 10€ and applied the promo code  
Cart total is 0€

the following error occurs:

Could not create a Mollie Payment Url, error: Could not create Mollie order, error: [2020-12-02T20:41:37+0000] Error executing API call (422: Unprocessable Entity): The amount is lower than the minimum. Field: payment.amount. Documentation: [Create order — API v2 documentation — Mollie](https://docs.mollie.com/reference/v2/orders-api/create-order)

Can you help ?

> <https://github.com/mollie/Shopware6/issues/59>
>
> Hello,
> We have created a promo code : "testcode" value = 25€
> We tested an order, we bought an item that cost 10€...

---

<div class="post-metadata">

### Author: ![powolnymarcel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/powolnymarcel/32/13924_2.png) [@powolnymarcel](https://forum.shopware.com/u/powolnymarcel)
#### Post date: [2. Dezember 2020 um 23:24 UTC](https://forum.shopware.com/t/discount-code-free-order-bug/71327/2 "2020-12-02T23:24:19Z")

</div>

How can I allow 0 euros orders ?

---

<div class="post-metadata">

### Author: ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)
#### Post date: [3. Dezember 2020 um 06:15 UTC](https://forum.shopware.com/t/discount-code-free-order-bug/71327/3 "2020-12-03T06:15:01Z")

</div>

I think you should create a payment method “free” and add a rule to it.

---

<div class="post-metadata">

### Author: ![powolnymarcel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/powolnymarcel/32/13924_2.png) [@powolnymarcel](https://forum.shopware.com/u/powolnymarcel)
#### Post date: [3. Dezember 2020 um 08:19 UTC](https://forum.shopware.com/t/discount-code-free-order-bug/71327/4 "2020-12-03T08:19:01Z")

</div>

Hi,&nbsp;

Thanks for answering.&nbsp; I have created the rule if cart \<= 0€&nbsp;&nbsp;

But that would mean that the customer has to manually select the “free payment” if VISA/MASTERCARD is the default payment mean&nbsp;

How could I force the payment mean to be the only one available if cart is 0€ ?

Am I missing something ?

---

<div class="post-metadata">

### Author: ![powolnymarcel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/powolnymarcel/32/13924_2.png) [@powolnymarcel](https://forum.shopware.com/u/powolnymarcel)
#### Post date: [3. Dezember 2020 um 13:39 UTC](https://forum.shopware.com/t/discount-code-free-order-bug/71327/5 "2020-12-03T13:39:38Z")

</div>

Anybody please ?

&nbsp;

I tried Slack and someone tried kindly to help me but I"m still stuck.

&nbsp;

> **[Welcome to your new HQ](https://shopwarecommunity.slack.com/?redir=%2Farchives%2FC011VFQT7GB%2Fp1606984552244300)**
>
> Slack is a new way to communicate with your team. It’s faster, better organized, and more secure than email.

---

<div class="post-metadata">

### Author: ![powolnymarcel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/powolnymarcel/32/13924_2.png) [@powolnymarcel](https://forum.shopware.com/u/powolnymarcel)
#### Post date: [7. Dezember 2020 um 09:26 UTC](https://forum.shopware.com/t/discount-code-free-order-bug/71327/6 "2020-12-07T09:26:08Z")

</div>

Any idea guys on how I could achieve this ?

---

<div class="post-metadata">

### Author: ![powolnymarcel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/powolnymarcel/32/13924_2.png) [@powolnymarcel](https://forum.shopware.com/u/powolnymarcel)
#### Post date: [25. Dezember 2020 um 22:08 UTC](https://forum.shopware.com/t/discount-code-free-order-bug/71327/7 "2020-12-25T22:08:35Z")

</div>

Can anybody help?
