|
|
@@ -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();
|