Authored by hf

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

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