|
|
@@ -68,7 +68,7 @@ class Lakala
|
|
|
'merchant_no' => $this->merchant_no,
|
|
|
'term_no' => $this->term_no,
|
|
|
'out_order_no' => $orderSn,
|
|
|
- 'total_amount' => $amount * 100,
|
|
|
+ 'total_amount' => bcmul($amount, 100),
|
|
|
'order_info' => $subject,
|
|
|
'notify_url' => $notifyUrl,
|
|
|
'order_efficient_time' => $orderEfficientTime,
|
|
|
@@ -123,7 +123,7 @@ class Lakala
|
|
|
'merchant_no' => $this->merchant_no,
|
|
|
'term_no' => $this->term_no,
|
|
|
'out_trade_no' => $orderSn,
|
|
|
- 'total_amount' => $amount * 100,
|
|
|
+ 'total_amount' => bcmul($amount, 100),
|
|
|
'auth_code' => $authCode,
|
|
|
'location_info' => $location_info,
|
|
|
'subject' => $subject,
|
|
|
@@ -248,7 +248,7 @@ class Lakala
|
|
|
'out_trade_no' => $orderSn,
|
|
|
'account_type' => 'WECHAT',
|
|
|
'trans_type' => 71,
|
|
|
- 'total_amount' => $amount * 100,
|
|
|
+ 'total_amount' => bcmul($amount, 100),
|
|
|
'location_info' => $location_info,
|
|
|
'subject' => $subject,
|
|
|
'notify_url' => $notifyUrl,
|
|
|
@@ -284,7 +284,7 @@ class Lakala
|
|
|
'out_trade_no' => $orderSn,
|
|
|
'account_type' => 'ALIPAY',
|
|
|
'trans_type' => '41',
|
|
|
- 'total_amount' => $amount * 100,
|
|
|
+ 'total_amount' => bcmul($amount, 100),
|
|
|
'location_info' => $location_info,
|
|
|
'subject' => $subject,
|
|
|
'notify_url' => $notifyUrl,
|