lyhzzz 1 vuosi sitten
vanhempi
commit
d53b5f9971

+ 1 - 1
src/main/java/com/fdkankan/pay/util/paypal/sdk/PaypalService.java

@@ -440,7 +440,7 @@ public class PaypalService {
         plan.setPlanName(order.getOrderType());
         plan.setTimeUnit(order.getAutoPayTime());
         plan.setCurrencyCode("USD");
-        plan.setPrice(order.getOrderMoney().multiply(new BigDecimal("100")).toString());
+        plan.setPrice(order.getOrderMoney().toString());
         String planId = restApiPaypalService.createPlan(paypalConfig, plan);
         log.info("创建订阅计划:"+planId);