Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Tax on Shipping not getting passed to payment


hobbzilla

Recommended Posts

I am using the osc Authorize.net payment module. I have shipping modules set to a tax class. However, when I try and put an order through, the tax & order total being passed to Authorize.net does not include the tax on the shipping. (Checkout Confirmation shows correct information)

I.e.

Product = $10.00

Shipping = $1.00

Tax 10% = $1.10

TOTAL = $12.10

 

what is passed to Authorize.net is:

 

TOTAL of $12.00

tax of $1.00

Shipping = $1.00

 

The $0.10 tax on shipping is getting dropped.

 

Suggestions as to where I should begin my search? I am have very little experience with the modules side of things.

Link to comment
Share on other sites

For those that are interested, I had to load

 

  require(DIR_WS_CLASSES . 'order_total.php');
 $order_total_modules = new order_total;

 $order_totals = $order_total_modules->process();

 

BEFORE

 

// load the before_process function from the payment modules
 $payment_modules->before_process();

 

on checkout_process.php.

 

Hopefully that didn't break anything else1 ;)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...