Hey all, I'm having a problem with discount coupons and my payment module.

I'm running ZC 1.3.8 with COWOA(not sure if this is important) and the module in particular im trying to integrate is ccnow(although this is not so important)

Currently ZC passes the following info to ccnow: product cost, shipping cost and total cost. And this works fine. But once I use a coupon (which lowers the product cost), the 'total cost' no longer matches up and i get an error.

So I need to pass the 'discount_amount' into ccnow as well, according to the module code it looks for this in $_SESSION['discount'].

I've checked all the session variables while redeeming a a voucher, and it seems that the 'discount' value isnt being stored in a session. Where can I find this value to pass onto through the API?