zoujiajian 3 years ago
parent
commit
7400775541

+ 1 - 1
netflix-service/src/main/java/com/cyksj/service/paypal/PayPalService.java

@@ -114,7 +114,7 @@ public class PayPalService{
         orderDon.setType(OrderDon.Type.PAYPAL);
         orderDon.setType(OrderDon.Type.PAYPAL);
         orderDonService.updateById(orderDon);
         orderDonService.updateById(orderDon);
         if (OrderDon.Status.hasPayment.equals(orderDon.getStatus())) {
         if (OrderDon.Status.hasPayment.equals(orderDon.getStatus())) {
-            throw new BusinessRuntimeException(GatewayApiCode.METADATA_SYSTEM_ERROR.getCode(),"该捐款已支付");
+            throw new BusinessRuntimeException(GatewayApiCode.METADATA_SYSTEM_ERROR.getCode(),"The donation has been paid");
         }
         }
         PaypalPayConfig paypalPayConfig = paypalPayConfigService.getById(1);
         PaypalPayConfig paypalPayConfig = paypalPayConfigService.getById(1);
         // Set payer details
         // Set payer details