This mod will place a payment surcharge based on payment type and percentage assigned and based on order amount if secified.
It is based on Ian Wilson's Payment Discount fee mod.
Legend: 
Download

Report
If you want to charge fee for orders below a certain amount. (set in the admin) You need to change this line.
For example:
Surcharge Percentage: 2.50
Minimum Amount: 25
Payment Type: invoice
If the payment type is invoice and below the amount of 25 , then 2,50 is charged as fee.
Find This Line:
if ($amount > $this->minimum) {
Change into this:
if ($amount < $this->minimum) {
Arreglo de bug en contribución de 23 de Jul de 2007 que aplicaba el cargo fijo en todos los métodos de pago.
Con el arreglo de este bug la cantidad que pones en percentaje surcharge es fija y sólo se cargará en el método o métodos de pago que escogas en payment method.
Se aplica una tarifa de coste fijo para los envíos realizados por contra reembolso. La cantidad puede modificarse desde el admin en "surcharge percentaje"
En el módulo original se cargaba un porcentaje + un ratio.
I believe the surcharge is being added to the tax rate and not the total in the ot_surcharge.php file. I have modifed the code as per the following:
$od_pc = $this->percentage;// + .35; //this is percentage plus the base fee
notice that i moved the .35 from the line above for the percent to the line below...total amount.
$od_amount = round($amount*10)/10*$od_pc/100 + .35;
Best Of Luck,
Paul
I fixed up a typo in the last version that gave a parse error
One thing that wasn't clear to me was the name of the payment type to put in the field.
Don't use the label name as I did. Use the name of the class for the payment type.
This means opening the payment file up to read the class.
i.e. for this one:
class pm2checkout {
so in the payment type name put pm2checkout
Note that it is case sensitive!
Missed a little detail. Fixed it so it will work with snapshots and MS1.
Very easy install
This mod will place a payment surcharge based on payment type and percentage assigned and based on order amount if secified.
It is based on Ian Wilson's Payment Discount fee mod.