Wrong Discount Applied at Checkout

Hi, I’ve been testing today and trying to offer £20 off using a code. The percentage discount works well, but if you try to set up a code for an amount, it’s always calculated incorrectly.
The more you add to the basket, the larger the discount applied to the order becomes, even though it should always be just £20, no matter how big the order is.

Discount

https://ibb.co/jP8rD4x2

Generally, orders over £200 should receive £20 off—and no matter how much more you spend, the discount should always be £20.

https://ibb.co/QxqNNg3

https://ibb.co/mryHpxSN

https://ibb.co/HL2Z5sC9

https://ibb.co/mryHpxSN

Sorry pictures don't show

No 2

tim

Sorry for the inconvenience. I have a lot on my desk at the moment, please bump me if you don't hear from me soon.
I just gotta get some things out of the way first.

Thanks Tim will do

tim

Your configuration looks right. There is something malfunctioning here.
I have a newer make locally I would like to try before I roll out. Is it possible you can create a support ticket, and I will troubleshoot this for you and try the newer version on site?

You are entitled to create a support ticket. Click here to begin.

I'd be interested in the new version of the discount codes module. Do you have a release date in mind?

tim

I published the newest version I have locally. Can you both try that one first to see if there is a problem solved with that one?

Hi Tim, everything seems to be working now. I'll get it properly tested and let you know shortly. Thanks for your help!

View code on GitHub