Related issue: https://github.com/piwik/piwik/issues/5292
I am trying to remove a canceled order with the Tracking API:
Here is how the call looks like:
It appears in piwik
But even after I invalidate and re-process the past reports (http://piwik.org/faq/how-to/#faq_155) the statistics show revenue for the original order.
Am I missing something?
@s1awa in the visitor log for this day, do you still see the "cancelled order" or do you just see the new "order with revenue 0" ?
@mattab I still see the original order and the log from when the API cancel command was called, but it is kind of incomplete.
I think something might be missing in my API call. The log for the API call shows something was ordered but does not show an Ecommerce order with Revenue of 0 like the original order. It has "0 Action"
And the original order in the log is still present with original revenue and not 0.
This is from The API call:
This is the original order:
Actually we wont be working on this one at this point
Renamed issue title to also include in the scope the "Update order" feature.
fyi: When tracking an order that has the same OrderID Matomo gives the following error:
Invalid non-unique idsite/idorder combination (1, 000143), conversion was not inserted.
I would also like to give a shout that "update e-commerce order" would be a very useful feature.