PHOENIX-MEDIA / Magento-CashOnDelivery

Cash on Delivery allows to book additional fee on delivery depending on inland or international delivery.
43 stars 46 forks source link

Problem with Maximum Order Total - possible bug #35

Closed ktsixit closed 6 years ago

ktsixit commented 7 years ago

Hi, I'm using this extension in my website. I have set 'Maximum Order Total = 74.99' in configuration. I'd like this payment method to be available only for orders with subtotal less than 75euros.

The problem is that if the user has selected a SHIPPING method that has fee (in my case shipping cost is 2euros), that fee is added to the subtotal and makes the payment method not available.

For example, there's a customer who has added some products to the cart. The subtotal is 74.40euro + 2 euro for shipping costs. The CashOnDelivery method is becoming not-available because it thinks that subtotal is 76.40euro and not 74.40.

How can I fix that?

PHOENIX-MEDIA commented 6 years ago

This is a general Magento payment method configuration. Nothing has been overwritten by us. So you would need to change how max_order_total is handled by Magento itself.