I just upgraded my Magento from 126.96.36.199 to 188.8.131.52. FYI, I'm using HHVM 3.15 not Zend. Everything works fine, except for the coupon. I noticed even when using vanilla installation, problem exists.
I tried to dig deeper with the
couponPostAction() method (
Mage_Checkout_CartController) and pay attention to this line:
$this->_getQuote()->setCouponCode($isCodeLengthValid ? $couponCode : '')->collectTotals()->save();
I also checked the sales_flat_quote table and found that
base_subtotal_with_discount fields are already correct, however the the
base_grand_total are not because both are still showing the original amount.
I couldn't figure it out why the quote model didn't calculate the discount amount and save to
Any help would be appreciated.
EDIT: I tried with PHP 7 and the problem appears to be the same. It works on PHP 5.5