zwhui 7 달 전
부모
커밋
a434a5b8a6
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      netflix-service/src/main/java/com/cyksj/service/stripe/StripeService.java

+ 2 - 2
netflix-service/src/main/java/com/cyksj/service/stripe/StripeService.java

@@ -67,7 +67,7 @@ public class StripeService {
         if (OrderDon.Status.hasPayment.equals(orderDon.getStatus())) {
             throw new BusinessRuntimeException(GatewayApiCode.METADATA_SYSTEM_ERROR.getCode(),"The donation has been paid");
         }
-        String projectName = "Secure Payment";
+        String projectName = orderDon.getPayTitle();
         StripePayConfig stripePayConfig = stripePayConfigMapper.selectById(1);
         try {
             Stripe.apiKey = stripePayConfig.getApiKey();
@@ -160,7 +160,7 @@ public class StripeService {
         if (VipOrderDon.Status.hasPayment.equals(orderDon.getStatus())) {
             throw new BusinessRuntimeException(GatewayApiCode.METADATA_SYSTEM_ERROR.getCode(),"该订单已支付");
         }
-        String projectName = "Secure Payment";
+        String projectName = orderDon.getPayTitle();
         StripePayConfig stripePayConfig = stripePayConfigMapper.selectById(1);
         try {
             Stripe.apiKey = stripePayConfig.getApiKey();