junfei 6 年 前
コミット
5dd12d0266
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      app/controller/Index.php

+ 1 - 1
app/controller/Index.php

@@ -284,7 +284,7 @@ class Index extends BaseController
             'discountedAmount' => '1',
         ];
 
-        $params['originalAmount'] = I('price');
+        $params['originalAmount'] = I('totalPrice');
 
 
         //$params = '{"originalAmount":"6","currency":"USD","intent":"sale","shortCode":"100000703","commodityDesc":"PGW payment","note2Payer":"Good Choice","merchantInvoiceNumber":"abc","discountedAmount":"1"}';