Ecommerce tracking doesn*t work

Hello.
I’m trying to set up ecommerce tracking for my site.
I’ve placed the following code in my invoice.php file:

And…nothing. Still no data in “E-commerce” section.

What am I doing wrong?

try referencing the piwikTracker object, ie


piwikTracker.trackEcommerceOrder('123456', '6.00');