Line item prices not adding up correctlySOLVE
Oct 15, 2018 12:21 AM
We're syncing e-commerce orders (deals) using the ecom bridge and stumbled upon an error in how line item prices are calculated, if the quantity for the line item is more than 1. It seems like the total price is calculated either (not figured out exactly what's happening) like this:
(Produc price * Quantity – Discount) * Quantity
(Product price * Quantity * Quantity) – (Discount * Quantity)
So we end up with a total that is close to what we would get if the quantity would be squared.
Any ideas why this is happening?
Solved! Go to Solution.
Nov 16, 2018 4:26 PM
Going forward, if an
hs_sync_amount value is passed in an Ecommerce Bridge sync message, it will update a line item's
amount. Please let me know if your testing reveals different behavior.
At this time, however, these synced
amount values are not surfaced in the UI. The team is currently working to identify the best way to avoid presenting misleading information for ecommerce line items.
Isaac TakushiAlumnus, HubSpot Developer Support