Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

商家转账到零钱类还是之前的EntPayService吗?有具体实例吗? #107

Open
willfcareer opened this issue Nov 10, 2022 · 5 comments

Comments

@willfcareer
Copy link

问题(提问前,请确保阅读过项目首页说明以及SDK wiki文档相关内容)

简要描述

_商家转账到零钱类还是之前的EntPayService吗?有具体实例吗?

版本情况

  • WxJava 版本号:4.4.0

期待结果

商家转账到零钱成功

实际情况

已经开通商家转账到零钱功能,并且满足了最近一个月30天正常交易
返回代码:[SUCCESS],返回信息:[NO_AUTH],结果代码:[FAIL],错误代码:[NO_AUTH],错误详情:[产品权限验证失败,请查看您当前是否具有该产品的权限],微信返回的原始报文:

<return_code></return_code>
<return_msg></return_msg>
<mch_appid></mch_appid>

<result_code></result_code>
<err_code></err_code>
<err_code_des></err_code_des>

重现步骤

    EntPayService entPayService = wxPayService.getEntPayService();
    log.info("entPayService:{}", entPayService);
    EntPayRequest req = new EntPayRequest();
    req.setAmount(1);
    req.setOpenid(openId);
    String partner_trade_no = AlgorithmUtils.getSerialNo("TEST", openId, new Date());
    req.setPartnerTradeNo(partner_trade_no);
    req.setCheckName("NO_CHECK");
    req.setDescription("打球费用");
    req.setSpbillCreateIp("127.0.0.1");
    EntPayResult rs = entPayService.entPay(req);
    log.info("Pay Result:{}", rs);

日志

日志内容如果过多,请将日志放在 pastebin 或者其他地方,并将url地址贴在这里

@binarywang
Copy link
Owner

产品权限验证失败

这个错误信息不是说你没权限吗?

@willfcareer
Copy link
Author

willfcareer commented Nov 11, 2022

https://developers.weixin.qq.com/community/pay/doc/0000acd9348b80721a1e0caff5b800?jumpto=comment
看社区说是v3接口变了,但我们的api还是访问的旧接口,问下有没有新版本接口可以用?
https://api.mch.weixin.qq.com/v3/transfer/batches

@liuwenfeng554
Copy link

liuwenfeng554 commented Dec 13, 2022

@willfcareer 4.4.0版本 有商户两个接口:
MerchantTransferService 商家转账到零钱(直联商户)
TransferService 商家转账到零钱
我的是3.3.0版本,不知道对于升级到3.3.0会不会有影响
image

@binarywang
Copy link
Owner

@willfcareer 4.4.0版本 有商户两个接口: MerchantTransferService 商家转账到零钱(直联商户) TransferService 商家转账到零钱 我的是3.3.0版本,不知道对于升级到3.3.0会不会有影响 image

基本影响不大,新增的接口都是新写的

@renanmin
Copy link

renanmin commented Jan 11, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants