Community Add-Ons

Add file to this package
Top » Order Total Modules

Handling Fee
for osCommerce Online Merchant v2.2

This contribution will add a Handling Fee option to the Orders Total section.

You can set the fee and determine at what price point the fee occurs (e.g. orders under $75 are charged).

Legend:  Download   Report
Expand All / Collapse All
Handling Fee + PAYPAL IPN marcellosales 13 Sep 2006  

This is to fix Paypal IPN or any other checkout contribution using this contribution...

If you are using Paypal IPN (updated versions) use the following code below into the paypal_ipn.php file.

FIND $parameters['currency_code'] = $my_currency;

PASTE ABOVE THE FOLLOWING

//Handling Fee Contribution: Fix by Marcello Sales Sep1306 START
if (MODULE_ORDER_TOTAL_HANDLINGFEE_STATUS == "true"){
$parameters['handling'] = number_format(MODULE_ORDER_TOTAL_HANDLINGFEE_FEE * $currencies->get_value($my_currency, $currencies->get_decimal_places($my_currency));
}
//Handling Fee Contribution: Fix by Marcello Sales Sep1306 END

It does not check if the value is lower or not... In my case I'm adding the handling fee to everthing

Handling Fee Jim Ekleberry 21 Apr 2003