Stripe 回调添加异常处理和异常情况下邮件通知

This commit is contained in:
2025-02-19 14:14:20 +08:00
parent d6f078ab60
commit fbe9dc87e9
5 changed files with 65 additions and 8 deletions

View File

@@ -982,7 +982,7 @@ public class StripeServiceImpl implements StripeService {
}
if (!type.equals("reminder") && !type.equals("cancel") && paymentInfo.getNotified() == 1){
// 已经邮件通知过,直接返回
log.info("不发送邮件原因【type为{}order_no为{}且已经已经进行邮件通知】", type, orderNo);
log.info("不发送邮件原因【type为{}order_no为{},已经进行邮件通知】", type, orderNo);
return true;
}