|
@@ -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
|