Skip to content

企业转账到用户零钱接口报错 #3943

Description

@wangpre

weixin-java-pay 4.8.0

企业转账到用户零钱
wxPayService.getEntPayService().entPay(request);

错误日志:
ERROR [] c.g.b.wxpay.service.impl.BaseWxPayServiceImpl:211 - 无法找到对应mchId=【xxx】,appId=【xxx】的商户号配置信息,请核实!

报错信息很诡异,老项目了,mchId 和 appId是有做绑定的!

实际好像是因为抛出了下面这个异常:
Cannot invoke "java.lang.Integer.toString()" because "this.brandId" is null

brandId 是非必填的,为什么会报这个异常呢?

Activity

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

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions