为PayPal添加定时任务

This commit is contained in:
2024-04-10 16:07:52 +08:00
parent 7d967ed41e
commit 1d443b140b
10 changed files with 129 additions and 206 deletions

View File

@@ -19,7 +19,7 @@ public interface PayPalCheckoutService {
Boolean doPost(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException;
String queryOrder(String orderNo) throws SerializeException;
Order queryOrder(String orderNo) throws SerializeException;
Order captureOrder(String orderId) throws IOException;
@@ -28,5 +28,7 @@ public interface PayPalCheckoutService {
String getOAuth();
void processOrder(String orderId);
void checkOrderStatus(String orderNo) throws SerializeException;
}