Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with "Discount for Payment Type"


ikarol

Recommended Posts

Hello :) I'm writing from Poland, I have just installed os Commerce 2.2 newest version and everything is great apart from one problem - "Discount for Payment Type" module in ORDER TOTAL Module is not working. I'm writing this post here, because I didn't have to implement any contribution for this function, I had it allready after installation. I would like to handle my clients with a discount for prepaying on my bank account. I have in my Administration Board these things to fill in to enable "Discount..." function:

 

Display Total

true

 

Sort Order

999

 

Discount Percentage

5

 

Minimum Amount

1

 

Payment Type

COD

 

Include Shipping

true

 

Include Tax

true

 

Calculate Tax

false

 

Maybe I have to change something in COD? I filled it with polish "Przepłata na konto" :), as it is called in PAYMENT module. but it does not change anything. Is there anyone to solve this problem?

 

Greetings from Poznan in Poland :D

Karol

Link to comment
Share on other sites

  • 1 year later...

It's a long time ago that someone posted a message here, but I've got a problem. I think it can be solved quite easy, but unfortunately, I don't have too much knowledge of scripting....

 

I installed the contrib "Discount for Payment type" (or: "Order payment discount 1.2), and it works very nice! I give customers who choose "iDEAL" as payment type (it is used in The Netherlands) a discount of 2%.

 

But there's something wrong with the rounding.

 

For instance:

 

Sub-Totaal: ?102,04

Korting betalingsmethode: ?2,43 (=discount)

BTW 19%: ?19,00 (=tax)

Verzendkosten (NL en B): ?7,50 (= shipping)

Totaal: ?126,50

 

So, the total amount is OK, but there's something wrong between....

 

It has to be: (102,04 x 0,98) x 1,19 + 7,50

 

Does anyone have a clue what the problem is?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...