$cart->add_fee() method causing sync issue
-
Hello, we’re using the standard WooCommerce $cart->add_fee() method to allow donors to add a voluntary donation covering processing costs.
However, the fee is showing as a line item, which is causing problems with 2 sync plugins (Shipstation and Quickbooks sync) interpreting the fee as a product:
<Items><Item><LineItemID><![CDATA[135282]]></LineItemID><Name><![CDATA[Card processing fee]]></Name><Quantity>1</Quantity><UnitPrice>1.17</UnitPrice></Item></Items>
Is this normal behavior for add_fee()? Are we doing something wrong, or is it a bug in the sync plugins that they can’t tell the difference between a fee and a product?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘$cart->add_fee() method causing sync issue’ is closed to new replies.