junfei лет назад: 6
Родитель
Сommit
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"}';