Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I need to add a tracking script to the success page and that script requires a gran total in cents, so $15.94 should be 1594
How can I get the order grand total in cents?
We can use this:
$cents = $_order->getGrandTotal() * 100;
Required, but never shown