junfei hace 6 años
padre
commit
5dd12d0266
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"}';