In my success.phtml file I'm having a script that escapes the subtotal (among other) to an affiliateprogram. This used to work fine in version 1.7 but after upgrading to 1.9 it only outputs the value 0. Other values like order id is still being sent correct.
Here is the line of code that used to output the value:
transactionAmount: '<?php echo $this->__('%s', $this->escapeHtml($this->getSubtotal())) ?>',
Anyone knows why it fails to output the correct value, and how to fix it?