WxJava icon indicating copy to clipboard operation
WxJava copied to clipboard

微信开发 Java SDK ,支持包括微信支付,开放平台,小程序,企业微信,视频号,公众号等的后端开发

Results 145 WxJava issues
Sort by recently updated
recently updated
newest added

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [cn.binarywang.wx.miniapp.api.WxMaService]: Factory method 'wxMaService' threw exception with message: Failed making field 'java.io.File#path' accessible; either increase its visibility or write a custom TypeAdapter for its...

大佬,帮忙看看这是什么问题导致的。 * WxJava 模块名: weixin-java-pay * WxJava 版本号: 4.7.8-20251028.120007 ### 详细描述 v2支付成功,回调报错,下面是回调的参数 wx58ff40508696691f ICBC_DEBIT 1 CNY N 1545462911 1761723102373 o1gdd16CZCI6yYvkn6j9EB_1TObM 20251029153140 SUCCESS SUCCESS 03F5C68CA8F2E30855077FA3FC21EBEA 20251029153852 1 JSAPI 4200002882202510298162739638 回调接口的代码 log.info("...

# 提问前,请确保阅读过项目首页说明以及wiki开发文档相关内容,完成内容后,请务必移除包括本句在内的无用内容,以免影响他人阅读,否则直接关闭,谢谢合作~ ### 简要描述 ### 官方文档地址 __请提供所需功能对应的微信官方文档地址以便进行确认。__ 微信转账新接口文档 https://pay.weixin.qq.com/doc/v3/merchant/4012716434

### 简要描述 企业微信会话存档下载时总是时不时出现报错,导致整个JVM直接崩溃 ### 模块版本情况 * WxJava 模块名: weixin-java-cp * WxJava 版本号: 4.7.5-20250516.201941 ### 详细描述 public List pullWeworkChatData(long seq, long limit, Predicate duplicateMessageFilter) throws Exception { // 本次请求获取消息记录开始的seq值。首次访问填写0,非首次使用上次企业微信返回的最大seq。允许从任意seq重入拉取。 WxCpChatDatas chatDatas...

这是我的config @Bean @ConditionalOnMissingBean public WxPayService wxService() { WxPayConfig payConfig = new WxPayConfig(); payConfig.setAppId(StringUtils.trimToNull(this.properties.getAppId()));//V3商户模式需要 payConfig.setMchId(StringUtils.trimToNull(this.properties.getMchId()));//V3商户模式需要 payConfig.setMchKey(StringUtils.trimToNull(this.properties.getMchKey())); payConfig.setKeyPath(StringUtils.trimToNull(this.properties.getKeyPath())); payConfig.setApiV3Key(StringUtils.trimToNull(this.properties.getApiV3Key()));//V3商户模式需要 payConfig.setCertSerialNo(StringUtils.trimToNull(this.properties.getCertSerialNo()));//V3商户模式需要 payConfig.setPrivateCertPath(StringUtils.trimToNull(this.properties.getPrivateCertPath()));//V3商户模式需要 payConfig.setPrivateKeyPath(StringUtils.trimToNull(this.properties.getPrivateKeyPath()));//V3商户模式需要 payConfig.setPublicKeyId(StringUtils.trimToNull(this.properties.getPublicKeyId()));//V3商户模式需要 payConfig.setFullPublicKeyModel(true); payConfig.setStrictlyNeedWechatPaySerial(true); WxPayService wxPayService = new WxPayServiceImpl(); wxPayService.setConfig(payConfig); return...

付款时,总不会每次都是一次性成功,那么就需要存储 prepay_id,来复用它, 但是现在想享受签名便利的同时,且拿到 prepay_id,是没有办法做到的。 ### 简要描述 我想在调用的是合作伙伴的的接口,我现在设计存储的时候只想存储 prepay_id ,怎么获取到? ``` WxPayUnifiedOrderV3Result.JsapiResult wxPayMpOrderResult = wxPayService.createPartnerOrderV3(TradeTypeEnum.JSAPI, request); ``` 但是 WxPayUnifiedOrderV3Result.JsapiResult 没有返回 prepay_id 字段 ``` public static class JsapiResult implements Serializable { private...

目前最新版本4.7.8 V2支持服务商统一下单,但V3并不支持,请问有计划支持下么,WxPayOrderQueryV3Request并不包含subMrcId 和subappid,而v2 的WxPayOrderQueryRequest 只有的,我在V2上下单成功,V3会报错: Caused by: com.github.binarywang.wxpay.exception.WxPayException: 受理机构必须传入sub_mch_id --

### 简要描述 当前最新sdk,没有wx.getGroupEnterInfo响应信息的定义,这个对应旧的wx.getShareInfo wx.getShareInfo:https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.getShareInfo.html wx.getGroupEnterInfo:https://developers.weixin.qq.com/miniprogram/dev/api/open-api/group/wx.getGroupEnterInfo.html 需要在sdk中定义wx.getGroupEnterInfo的success返回encryptedData、iv解密后的结果 字段如下: { "opengid": "OPENGID", // 多聊群下返回的群唯一标识 "open_single_roomid": "", // 单聊群下返回的群唯一标识 "group_openid": "", // 用户在当前群的唯一标识 "chat_type": 3, // 聊天室类型 } 在WxMaShareService接口中添加getGroupEnterInfo()方法 public interface WxMaShareService {...