kevin_zhangl hace 2 años
padre
commit
c5e91b1ee0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      frontendApi/modules/v1/controllers/ShopController.php

+ 1 - 1
frontendApi/modules/v1/controllers/ShopController.php

@@ -426,7 +426,7 @@ class ShopController extends BaseController {
 //        $amount = number_format(1, 2, '.', ''); // TODO: 测试
 //        $amount = number_format(1, 2, '.', ''); // TODO: 测试
         $paymentParams['Amount'] = str_replace('.', '', $amount);
         $paymentParams['Amount'] = str_replace('.', '', $amount);
         // (Optional) (int)
         // (Optional) (int)
-        $paymentParams['PaymentId'] = '2';   // TODO: 2=MYR
+        $paymentParams['PaymentId'] = '';   // TODO: 2=MYR
         // Product description. (length 100)
         // Product description. (length 100)
         $paymentParams['ProdDesc'] = 'Pay for sales';
         $paymentParams['ProdDesc'] = 'Pay for sales';
         // Customer name. (length 100)
         // Customer name. (length 100)