junfei 6 vuotta sitten
vanhempi
commit
5dd12d0266
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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"}';