paypal 环境转换sandbox->live
This commit is contained in:
@@ -13,11 +13,8 @@ import java.util.Map;
|
|||||||
public interface PayPalCheckoutService {
|
public interface PayPalCheckoutService {
|
||||||
|
|
||||||
HashMap<String, String> createOrder(Integer amount,String returnUrl) throws SerializeException;
|
HashMap<String, String> createOrder(Integer amount,String returnUrl) throws SerializeException;
|
||||||
/**
|
|
||||||
* 回调
|
// String callback(@SuppressWarnings("rawtypes") Map map);
|
||||||
* @param map
|
|
||||||
*/
|
|
||||||
String callback(@SuppressWarnings("rawtypes") Map map);
|
|
||||||
|
|
||||||
Boolean doPost(HttpServletRequest req, HttpServletResponse resp)
|
Boolean doPost(HttpServletRequest req, HttpServletResponse resp)
|
||||||
throws ServletException, IOException;
|
throws ServletException, IOException;
|
||||||
|
|||||||
@@ -244,7 +244,7 @@ public class PayPalCheckoutServiceImpl implements PayPalCheckoutService {
|
|||||||
return orderRequest;
|
return orderRequest;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
/*@Override
|
||||||
public String callback(@SuppressWarnings("rawtypes") Map map) {
|
public String callback(@SuppressWarnings("rawtypes") Map map) {
|
||||||
|
|
||||||
log.info("paypal支付通知正在执行");
|
log.info("paypal支付通知正在执行");
|
||||||
@@ -314,7 +314,7 @@ public class PayPalCheckoutServiceImpl implements PayPalCheckoutService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "failure";
|
return "failure";
|
||||||
}
|
}*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询订单信息
|
* 查询订单信息
|
||||||
|
|||||||
Reference in New Issue
Block a user