Hi,
I have a custom shipping module (written by myself) that works properly everywhere (I've looked) except for on the Invoice. Here, it displays the shipping without tax and does not include that tax in the ot_tax or ot_total values.
It provides all the correct amounts in the estimator, and right through the checkout process. If I use a payment method like paypal, the order total is correct.
If I use perweightunit shipping set with the same zones and classes, the displayed info and the invoice are BOTH correct. So, that points to my shipping module.
My module has 2 methods and if a particular method is passed to ->quote() then it only returns the one.
From what I can see, it returns the same array structure as (say) the USPS module.
The class scoped vars seem to be the same as any other basic module as long as the module is ->enabled.
Admin / Configuration / My Store / Display prices with tax are both set.
zen-cart 1.3.9h on LAMP. PHP 5.2.10.
I have been searching and researching this for a couple of days now and could really use some pointers as to:-
- What might be causing this OR
- Where abouts the invoice generation code is and how it builds its order information. Perhaps seeing that might tell me why my module is not providing the right info at all times.



Reply With Quote



Bookmarks