Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
Closed
@rain7564

Description

@rain7564
Issue body actions

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.