paypal 环境转换sandbox->live
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* 查询订单信息
|
||||
|
||||
Reference in New Issue
Block a user