Open slawa-dev opened 7 years ago
@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.
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've exactly the same error too:
Error in Matomo (tracker): Invalid non-unique idsite/idorder combination (1, LETCPBUVH), conversion was not inserted.
This issue has been mentioned on Matomo forums. There might be relevant details there:
https://forum.matomo.org/t/duplicate-tracking-of-ecommerce-orders/31789/5
I have exactly the same problem. Is there any workaround or do I have to live with wrong ecommerce data in matomo when an order was refunded?
Related issue: https://github.com/piwik/piwik/issues/5292
I am trying to remove a canceled order with the Tracking API: http://developer.piwik.org/api-reference/tracking-api
Here is how the call looks like:
https://mypiwik.com/piwik.php?idsite=7&rec=1&url=https%3A%2F%2Fmysite.com&apiv=1&idgoal=0&ec_id=1611210002&revenue=0&ec_st=0&ec_tx=0&ec_sh=0&ec_dt=0&token_auth=xxxxxxx
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?