Community Add-Ons

Maintainers: xtend
Add file to this package
Top » Order Total Modules

Fixed Payment taxgroup bugfix
for osCommerce Online Merchant v2.2

### APPLYS TO ###

/includes/modules/order_total/ot_fixed_payment_chg.php

If the payment module Fixed Payment Charge is enabled and VAT applys to this module.


### PROBLEM ###

1.
When VAT is added, according to the variable DISPLAY_PRICE_WITH_TAX, the value of this variable is reversed for this module.
2.
If you choose the same tax class for your product and for the fixed payment module, 2 different taxgroups will be created in the order total.
The sum of all tax amounts (from products with the same tax rate) will be combined to a taxgroup key, named after your given tax description for this tax rate.
The tax amount calculated from the fixed payment charge, will create a new taxgroup, named after the tax rate. While this should also be added to the taxgroup named after your description.

Legend:  Download   Report
Expand All / Collapse All
Fixed Payment taxgroup bugfix xtend 26 Sep 2006  

### APPLYS TO ###

/includes/modules/order_total/ot_fixed_payment_chg.php

If the payment module Fixed Payment Charge is enabled and VAT applys to this module.


### PROBLEM ###

1.
When VAT is added, according to the variable DISPLAY_PRICE_WITH_TAX, the value of this variable is reversed for this module.
2.
If you choose the same tax class for your product and for the fixed payment module, 2 different taxgroups will be created in the order total.
The sum of all tax amounts (from products with the same tax rate) will be combined to a taxgroup key, named after your given tax description for this tax rate.
The tax amount calculated from the fixed payment charge, will create a new taxgroup, named after the tax rate. While this should also be added to the taxgroup named after your description.