Jump to content

SMAX

Members
  • Content count

    2
  • Joined

  • Last visited

Profile Information

  • Real Name
    Simon Maxworthy
  1. For a quick fix you can edit the paypal module. /catalog/includes/modules/payment/paypal.php comment out lines 89 & 90 tep_draw_hidden_field('amount', number_format(($order->info['total'] - $order->info['shipping_cost']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) . tep_draw_hidden_field('shipping', number_format($order->info['shipping_cost'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) . and replace them with this line tep_draw_hidden_field('amount', number_format(($order->info['total']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) . What this does is just send the total to paypal and doesnt break it down into total and shipping. If you look at the code in line 89 it works it out by deducting the shipping from the total so thats how you end up with a negative figure in paypal. HTH Simon
×