Authored by hf

code review by hf: fixes bug to weixin pay value float to init

... ... @@ -870,7 +870,7 @@ class HomeController extends AbstractAction
break;
}
$totalFee = intval(strtr($orderDetail['data']['amount'], array('¥' => ''))) * 100;
$totalFee = intval($orderDetail['data']['payment_amount'] * 100);
$openId = $this->getSession('weixinOpenId');
if (empty($openId)) {
break;
... ...