News:

Looking for documentation? Take a look on our wiki

Main Menu

Error fee calculation

Started by Eleonora77, January 18, 2023, 14:32:39 PM

Previous topic - Next topic

Eleonora77

HI
I have a problem with calculating cash on delivery fees.
Minimum fee per transaction is 2
Commission or cashback as a percentage of the total amount is 1.5

139,08 + sped 13,42 = 152,50
1.5% would be 2.29 and instead put 2.32

joomla 3.10.5
VirtueMart 3.8.8 10472

Thank you for every suggestions

Jörgen

Looks like it calculates on the total incl fee. What delivery option is this ?

Jörgen
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

ssc3

Click on the "Payment Method Information" tab

Scroll down and you should see an option called

"Progressive"

Try unticking it and see if that helps.
Virtuemart Payment Plugins
https://plugins.online-store.co.uk

Eleonora77

The type of payment is "cash on delivery" and is settings like a standard method.
I standard method i cant see the field progressive, is an option of paypal method.

Jörgen

It seems like the calculation includes 1,5 % on the 1,5 % fee.  I do not know if this is intentional. Paypal calls this progressive kickback.
The description actually says fee or kickback on the TOTAL amount. And that is what it is, 1,5 % fee of the total cost including kickback fee.

You could set a different number to make a work around.

Fee to set:
fee_to_set = wanted_fee / (1 + wanted_fee/100)

example :
wanted_fee = 1,5 %
fee _to_set = 1,5 / (1 + 1,5/100) = 1,477833 %

Set 1,477833 % in the payment option and result will be as you want.

It is not bug fix a solution, it is a band aid, but it should work for now.

Jörgen @ Kreativ Fotografi


Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Eleonora77

Thank you @Jorgen now it's perfect! :)

ssc3

#6
Quote from: ssc3 on January 19, 2023, 22:38:23 PM
Click on the "Payment Method Information" tab

Scroll down and you should see an option called

"Progressive"

Try unticking it and see if that helps.

The option to turn of progressive calculations is in the payment method setup.

That's the first tab at the top of the page and not the second tab.

Just scroll down the page and look for the tick box marked progressive.

Never seen this used outside Virtuemart. Might generate a lot of queries to user support if used on a live site.

In some countries it is illegal to charge extra for the type of payment. So check local regulations before you include this.
Virtuemart Payment Plugins
https://plugins.online-store.co.uk