Problem with the price values
-
Hi, I found a problem with the price values sent by CapiFlow to Meta Pixel/CAPI.
WooCommerce prices are stored and displayed correctly as decimal EUR values, but CapiFlow is sending them as cents without converting them back to the EUR decimal value.
For example:
Product price in WooCommerce: €14.21
Meta Pixel Helper shows:
currency: EUR
value: 1421
And the contents parameter contains:
[
{
"id": "180397",
"quantity": 1,
"item_price": 1421
}
]
The expected values should be:
currency: EUR
value: 14.21
item_price: 14.21
The same happens with other prices:
€3.44 → 344
€7.55 → 755
€14.21 → 1421
So it appears that CapiFlow is multiplying the WooCommerce price by 100, or is using a value already expressed in minor units, and then sending that value to Meta as if it were EUR.
This affects at least the AddToCart event, both:
value
contents[].item_price
Could you please check the price normalization/serialization logic in the current version of CapiFlow and confirm where this conversion happens?
The site uses EUR and WooCommerce prices are normal decimal values. We need Meta to receive the actual EUR amount, e.g. 14.21, not 1421.
I am using the latest CapiFlow version 1.1.1 installed today.
Thanks! (The dashboard design is sick!)The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.