VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: beardedhobo on August 13, 2013, 22:42:34 PM

Title: 3% Transaction fee to include shipping
Post by: beardedhobo on August 13, 2013, 22:42:34 PM
Hi All,

I've searched the internet and the forum far and wide to find an answer to this and there are a lot of unanswered threads and I couldn't find a solution.

Bascially I've set up a payment method with a 3% transaction fee, however it is calculating the fee as 3% of the subtotal excluding shipping. How would I get the transaction fee to be calculated including the shipping cost?

e.g. the 3% would be calculated from the cart total not just the subtotal.

I figure I'd have to change the calculation rules somewhere, bit of a novice at php but I'll have a go if someone can point me in the right direction... I'll make sure I post the solution back here for everyone else.

Thanks  :)
Title: Re: 3% Transaction fee to include shipping
Post by: beardedhobo on August 15, 2013, 22:59:23 PM
Still searching for this, does anybody know where the transaction fee rules are calculated so I can get it to include shipping cost too?
Title: Re: 3% Transaction fee to include shipping
Post by: jenkinhill on August 16, 2013, 11:18:55 AM
What versions are you using?
Title: Re: 3% Transaction fee to include shipping
Post by: beardedhobo on August 16, 2013, 20:07:00 PM
Hi thanks for the reply I'm using 2.0.2b