{"id":19023696,"date":"2026-09-18T17:23:36","date_gmt":"2026-09-18T17:23:36","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/problem-with-the-price-values\/"},"modified":"2026-09-18T17:23:36","modified_gmt":"2026-09-18T17:23:36","slug":"problem-with-the-price-values","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/problem-with-the-price-values\/","title":{"rendered":"Problem with the price values"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>Hi, I found a problem with the price values sent by CapiFlow to Meta Pixel\/CAPI.<br \/><br \/>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.<br \/><br \/>For example:<br \/><br \/>Product price in WooCommerce: \u20ac14.21<br \/><br \/>Meta Pixel Helper shows:<br \/><br \/>currency: EUR<br \/>value: 1421<br \/><br \/>And the contents parameter contains:<br \/><br \/>&#091;<br \/>{<br \/>\"id\": \"180397\",<br \/>\"quantity\": 1,<br \/>\"item_price\": 1421<br \/>}<br \/>]<br \/><br \/>The expected values should be:<br \/><br \/>currency: EUR<br \/>value: 14.21<br \/>item_price: 14.21<br \/><br \/>The same happens with other prices:<br \/><br \/>\u20ac3.44 \u2192 344<br \/>\u20ac7.55 \u2192 755<br \/>\u20ac14.21 \u2192 1421<br \/><br \/>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.<br \/><br \/>This affects at least the AddToCart event, both:<br \/><br \/>value<br \/>contents&#091;].item_price<br \/><br \/>Could you please check the price normalization\/serialization logic in the current version of CapiFlow and confirm where this conversion happens?<br \/><br \/>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.<br \/><br \/>I am using the latest CapiFlow version 1.1.1 installed today.<br \/><br \/>Thanks! (The dashboard design is sick!)<br \/><\/code><\/pre>\n","protected":false},"template":"","class_list":["post-19023696","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19023696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19023696\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19023696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}