Closed
Description
微信支付部分涉及到子服务商的接口报错(缺少子服务商id参数),比如:
WxPayOrderQueryResult queryOrder(String transactionId, String outTradeNo) throws WxPayException;
WxPayOrderCloseResult closeOrder(String outTradeNo) throws WxPayException;
WxPayRefundQueryResult refundQuery(String transactionId, String outTradeNo, String outRefundNo, String refundId) throws WxPayException;
上面那些接口,若是服务商版,sub_mch_id(子商户号)都是必填项,直接调用会报错。
另外,下载对账单的接口也有类似的问题,如下接口:
WxPayBillResult downloadBill(String billDate, String billType, String tarType, String deviceInfo) throws WxPayException;
下载指定的子商户号对账单时,子商户号也是必填项。