Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

j4k3

Archived
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • Real Name
    Jake

j4k3's Achievements

  1. I have implemented the USPS Insurance module and everything was great. However, now I find out I have to calculate tax on shipping and insurance for Florida. I read all the posts in this thread and tried the suggestions. I am running the latest 1.1a. I have the order total modules aligned so tax is ordered below shipping and USPS Insurance. However, it still does not calculate tax on the USPS Insurance. For the other poster with the Paypal IPN version 2.3.3.0. I found a solution that seems to work for me. I edited the paypal_ipn.php file. Around line 315 I added a definition for $uspsinsurance: $subtotal = $order_total['ot_subtotal']; $uspsinsurance = $order_total['ot_uspsinsurance']; /* MY EDIT */ Around line 454 I editing the following line to add $uspsinsurance to the handling variable: $parameters['handling'] = number_format(($uspsinsurance+$order_total['ot_loworderfee']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); The total comes out properly now in Paypal. If only I could get tax calculated on the USPS Insurance my life would be all roses. Thanks for any help, kind regards, Jake
×
×
  • Create New...