junfei 6 anos atrás
pai
commit
5dd12d0266
1 arquivos alterados com 1 adições e 1 exclusões
  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"}';