Skip to content

微信支付部分涉及到子服务商的接口报错(缺少子服务商id参数) #569

Description

@rain7564

微信支付部分涉及到子服务商的接口报错(缺少子服务商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;

下载指定的子商户号对账单时,子商户号也是必填项。

文档参考:
查询订单
关闭订单
查询退款
下载对账单

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions