paypal 环境转换sandbox->live

This commit is contained in:
2024-03-26 15:31:57 +08:00
parent 3662ed3f96
commit 54df4a0ae2
2 changed files with 4 additions and 7 deletions

View File

@@ -13,11 +13,8 @@ import java.util.Map;
public interface PayPalCheckoutService {
HashMap<String, String> createOrder(Integer amount,String returnUrl) throws SerializeException;
/**
* 回调
* @param map
*/
String callback(@SuppressWarnings("rawtypes") Map map);
// String callback(@SuppressWarnings("rawtypes") Map map);
Boolean doPost(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException;

View File

@@ -244,7 +244,7 @@ public class PayPalCheckoutServiceImpl implements PayPalCheckoutService {
return orderRequest;
}
@Override
/*@Override
public String callback(@SuppressWarnings("rawtypes") Map map) {
log.info("paypal支付通知正在执行");
@@ -314,7 +314,7 @@ public class PayPalCheckoutServiceImpl implements PayPalCheckoutService {
}
}
return "failure";
}
}*/
/**
* 查询订单信息