0

I need to add a cash discount for a payment method (called "Vorkasse" in German - advance payment is the word in English I guess). The total cart value (excluding shipping costs) should have a discount of 2%.

I found this already here: how to add fee to order totals in magento2

But it is a fixed rate for all payment methods...

DaFunkyAlex
  • 398
  • 1
  • 5
  • 15

1 Answers1

3

So here's what I found out:

It works now. Magento 2 is pretty poor. There are so much bugs and missing features...

DaFunkyAlex
  • 398
  • 1
  • 5
  • 15
  • Thank you for your report! Held us. However we are now getting null returned from $model->getQuote()->getPayment()->getMethod() inside core, so there is no way of actually comparing the condition (returns false). – George May 10 '18 at 16:39