支付优化-续订失败邮件通知
This commit is contained in:
@@ -2,7 +2,6 @@ package com.ai.da.service;
|
||||
|
||||
import com.ai.da.model.dto.ProductPurchaseDTO;
|
||||
import com.stripe.exception.StripeException;
|
||||
import com.stripe.model.Subscription;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import java.util.List;
|
||||
@@ -18,10 +17,12 @@ public interface StripeService {
|
||||
|
||||
void checkOrderStatus(String orderNo);
|
||||
|
||||
List<Subscription> getSubscription(String name, String userEmail) throws StripeException;
|
||||
List<String> getSubscriptionIds(String name, String userEmail) throws StripeException;
|
||||
|
||||
void cancelSubscription(String orderNo);
|
||||
|
||||
void cancelSubscriptionTemp(String subscriptionId);
|
||||
|
||||
Map<String, String> getPaymentMethod(String paymentMethodId);
|
||||
|
||||
/*void updateSubscription(String subscriptionId);
|
||||
@@ -32,4 +33,9 @@ public interface StripeService {
|
||||
|
||||
void checkSubscriptionExpiration();
|
||||
|
||||
String createSubscriptionTemp(String name, String email);
|
||||
|
||||
String changeCustomerPayment(String name, String email);
|
||||
|
||||
boolean sendRenewalFailEmail(String invoiceId, String subscriptionId, String orderNo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user