jtl-software / connector-woocommerce3

GNU Lesser General Public License v3.0
5 stars 6 forks source link

Instead of calculating the vat rate on our own, we use the functions … #4

Closed hamsterkacke closed 4 years ago

hamsterkacke commented 4 years ago

…from woo to retrieve them by order item.

Since we have some problems with the tax calculation, when the Order has a coupon that set's it to 0€ or atleast one of the products, the vat calculation is "wrong".

Because the JTL Connector then submits a vat rate of 0% for that item. But we still want the correct vat rate in JTL.

This PR attempts to fix it.

This should fix #2 and #3

Best Philipp

paprykasz commented 4 years ago

Hi @Hamsterkacke

thank you for your proposal. We need to discuss it and we will decide if we can use it.

Best, Patryk