Contributions

Order Total Modules (Category Index)
Search: 

Payment Type Charge

order total class that lets you set a percentage based charge depending on the payment type the customer uses.

Expand All / Collapse All

delivery tax fix for Payment Type Charge v1.8 (contrib # 251) 29 Dec 2007

delivery tax fix for Payment Type Charge v1.8 (contrib # 251)

The tax is applied based on the customers primary address, but thats not the osc default behavior.
Osc by default takes the delivery address to apply the taxes.

To achieve this change line 73:
$tod_rate = tep_get_tax_rate(MODULE_FIXED_PAYMENT_CHG_TAX_CLASS);

to:
$tod_rate = tep_get_tax_rate(MODULE_FIXED_PAYMENT_CHG_TAX_CLASS, $order->delivery['country']['id'], $order->delivery['zone_id']);

Payment Type Charge v1.8 30 Sep 2007
Payment Type Charge v1.7 13 Feb 2007
Fixed Payment Type Charge v1.6 19 Apr 2006
Fixed Payment Type Charge v1.5 12 Apr 2006
contre remboursement 17 Jul 2005
Payment Type Charge update Edwin Bekaert 6 Mar 2003
Fixed Payment Type Charge v1.4 Ian Wilson 26 Oct 2002
Fixed Payment Type Charge v1.3 Ian Wilson 10 Oct 2002
Payment Type Charge v1.2 Ian Wilson 30 Sep 2002
Fixed Payment Type Charge v1.2 Ian Wilson 12 Sep 2002
Payment Type Charge v1.1 Ian C Wilson 4 Sep 2002
Fixed payment type charge v1.1 Ian C Wilson 4 Sep 2002
Fixed payment type charge v1.0 Ian C Wilson 31 Aug 2002
Payment Type Charge v1.0 Ian C Wilson 11 Aug 2002

Note: Contributions are used at own risk.