WxJava
WxJava copied to clipboard
微信开发 Java SDK ,支持包括微信支付,开放平台,小程序,企业微信,视频号,公众号等的后端开发
# 提问前,请确保阅读过项目首页说明以及wiki开发文档相关内容,尤其是常见问题部分。完成内容后,请务必移除包括本句在内的无用内容,以免影响阅读,否则直接关闭,谢谢合作~ ## 另外如果确认属于bug,而且已明确如何修复,请参考贡献指南直接提交PR,省的浪费时间在这里描述问题,非常感谢配合 ### 简要描述 加密方法RsaCryptoUtil.encryptFields只能加密当前类中有SpecEncrypt注解的字段,无法加密字段子类中的字段。 比如分账方法:wxPayService.getProfitSharingV3Service().profitSharing(profitSharingRequest) ProfitSharingRequest中Receivers集合下有字段Name,请求时无法对receiver中的Name字段加密, 但是直接调用wxPayService.getProfitSharingV3Service().addProfitSharingReceiver(receiver)方法时,可以对receiver中的Name字段加密。 ### 模块版本情况 * WxJava 模块名: weixin-java-pay * WxJava 版本号: 4.5.0 ### 详细描述 加密方法RsaCryptoUtil.encryptFields只能加密当前类中有SpecEncrypt注解的字段,无法加密字段子类中的字段。 比如分账方法:wxPayService.getProfitSharingV3Service().profitSharing(profitSharingRequest) ProfitSharingRequest中Receivers集合下有字段Name,请求时无法对receiver中的Name字段加密, 但是直接调用wxPayService.getProfitSharingV3Service().addProfitSharingReceiver(receiver)方法时,可以对receiver中的Name字段加密。 ### 日志 __如果日志不多,直接使用md代码引用格式贴在此处,否则如果太长,请将日志放在 [pastebin](https://paste.ubuntu.com/)...
Adds comprehensive support for WeChat deposit payment API, addressing the frequently requested deposit payment functionality for scenarios like bike sharing, equipment rentals, and other services requiring security deposits. ## What's...
Implements WeChat's new "免确认收款授权模式" (confirmation-free receipt authorization mode) for merchant transfers, addressing the requirement in issue for enhanced user experience in high-frequency transfer scenarios. ## What's Changed ### Core Implementation...
## Issue The `ComponentVerifyTicket` in Redis-based configuration storage classes was being cached with `Integer.MAX_VALUE` expiration time (essentially infinite), which contradicts WeChat's official documentation stating that `component_verify_ticket` has a validity period...
## Issue Users reported that the `wx.miniapp.use-stable-access-token: true` configuration was not taking effect in version 4.7.0, with the code still returning `useStableAccessToken` as `false`. ## Investigation Results Through comprehensive testing...
The `loadConfigInputStream` method in `WxPayConfig` was incorrectly applying Base64 decoding to all string inputs, causing failures when users provided PEM format private keys or certificates via `setPrivateKeyString()` or `setPrivateCertString()`. ##...
The `parseOrderNotifyResult` method was failing with a cryptic `XmlPullParserException` when developers passed JSON data from WeChat Pay V3 API instead of XML data expected by the V2 API method. **Problem:**...
The `WxOpenXmlMessage.fromEncryptedXml()` method was vulnerable to `NullPointerException` when processing encrypted WeChat Open Platform messages, particularly affecting `receive_ticket` functionality that worked in 4.7.6.B but failed in 4.7.7.B. ## Root Cause Analysis...
The validation logic in `WxMaIntracityServiceImpl.balanceQuery` was incorrectly blocking valid API calls when `wxStoreId` is null and `payMode` is `APP` or `COMPONENT`. ## Problem The original condition was inverted: ```java if...
This PR implements a complete complaint handling service for WeChat Mini Programs, addressing the request for transaction complaint interfaces including message push notifications and query capabilities. ## Features Added ###...