Senparc.Weixin.TenPayV3 2.6.1

Prefix Reserved
dotnet add package Senparc.Weixin.TenPayV3 --version 2.6.1
                    
NuGet\Install-Package Senparc.Weixin.TenPayV3 -Version 2.6.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Senparc.Weixin.TenPayV3" Version="2.6.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Senparc.Weixin.TenPayV3" Version="2.6.1" />
                    
Directory.Packages.props
<PackageReference Include="Senparc.Weixin.TenPayV3" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Senparc.Weixin.TenPayV3 --version 2.6.1
                    
#r "nuget: Senparc.Weixin.TenPayV3, 2.6.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Senparc.Weixin.TenPayV3@2.6.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Senparc.Weixin.TenPayV3&version=2.6.1
                    
Install as a Cake Addin
#tool nuget:?package=Senparc.Weixin.TenPayV3&version=2.6.1
                    
Install as a Cake Tool

微信 SDK - 微信支付 V3 模块

Senparc.Weixin SDK 开源项目:
https://github.com/JeffreySu/WeiXinMPSDK

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on Senparc.Weixin.TenPayV3:

Package Downloads
PiratesCore

湖南医标通信息科技有限公司

Microi.WeChat

开源低代码平台 - Microi吾码:微信平台相关功能依赖注入。此类库开源,官网:https://microi.net

Pirates.Core

湖南医标通信息科技有限公司

Sze.Base.Core

Package Description

Senparc.Weixin.All

微信 SDK - Senparc.Weixin SDK 集成模块(含企业微信用户身份接口路径兼容能力) 此模块将自动引用所有 Senparc.Weixin SDK 系列的工具包,包括: - Senparc.Weixin - Senparc.Weixin.MP 及其 Middleware - Senparc.Weixin.Work 及其 Middleware - Senparc.Weixin.WxOpen 及其 Middleware - Senparc.Weixin.Open - Senparc.Weixin.TenPay - Senparc.Weixin.TenPayV3 - Senparc.Weixin.Cache.Redis - Senparc.Weixin.Cache.CsRedis - Senparc.Weixin.Cache.Memcached - Senparc.Weixin.MCP.Server - Senparc.WebSocket Senparc.Weixin SDK 开源项目: https://github.com/JeffreySu/WeiXinMPSDK

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.6.1 740 7/31/2026
2.6.0 283 7/28/2026
2.5.1 162 7/26/2026
2.5.0 19,334 7/20/2026
2.4.1 274 7/17/2026
2.4.0 3,014 4/24/2026
2.3.3 237 4/15/2026
2.3.3-preview.1 224 1/27/2026
2.3.2 2,207 12/2/2025
2.3.1 349 11/25/2025
2.3.0 555 11/12/2025
2.3.0-preview.10 229 10/29/2025
2.3.0-preivew.net.10 225 10/29/2025
2.2.3 864 10/24/2025
2.2.2 1,416 9/8/2025
2.2.1.1 1,286 8/20/2025
2.2.1 594 8/19/2025
2.2.1-beta.1 169 8/16/2025
2.2.0 877 8/13/2025
2.1.1 1,986 7/8/2025
Loading failed

v0.1.0 创世
v0.3.500.2 重构加密方法
v0.3.500.3 修正合单支付的 URL 路径错误
v0.3.500.4 完成商家券接口、委托营销接口、消费卡接口、支付有礼接口
v0.5.1 修复PayV3营销工具商户券API
v0.5.6 使用 Senparc.Weixin.Config.TenPayV3Host 提供可配置的 API 域名
v0.5.7 升级微信支付请求的方法,支持多种加密方式
v0.6.1 修复 CloseOrderAsync() 参数问题
v0.6.2.2 修复 TenPayHttpClient 赋值问题
v0.6.3 添加“发起商家转账API”
v0.6.5 重构 BasePayApis.GetPayApiUrl() 方法
v0.6.8.2 MarketingApis.ModifyBusifavorStockInformationAsync 方法单独提取参数 stock_id
v0.6.8.3 MarketingApis.ModifyBusifavorStockBudgetAsync 方法单独提取参数 stock_id
v0.6.8.4 修改 week_day 类型为 int[]
v0.6.8.7 优化 TenPayApiResultCode 获取逻辑,修复 TryGetCode() 方法中当匹配不到预设错误信息时,返回 null 的问题
v0.6.8.8 修复 RefundQueryAsync() URL 问题
v0.6.8.13 修复验签时 204(NoContent)情况下的异常
v0.6.8.14 修复 PayScoreApis.QueryServiceOrderAsync() 重复代码
v0.6.8.15 修复 PayScoreApis.QueryServiceOrderAsync() 参数判断逻辑
v0.7.0 BasePay 支持服务商模式
v0.7.1 修复 TradeBillQueryRequestData 默认参数问题
v0.7.3 新增微信支付 V3 服务商的“经营能力”“资金应用”相关接口
v0.7.5 TenPayV3Util.GetNoncestr() 弃用 MD5 加密方法
v0.7.10.4 基础支付参数缺失处理 、JsonIgnore的问题处理
v0.7.11
v1.0.0-beta1
1、TenPayV3 RefundQueryRequestData.sub_mchid 属性添加 [JsonIgnore] 标签 #2905
2、添加小程序发货信息管理服务消息事件 PR#2908
3、TenPayV3分账 字段内部加密 PR#2909
v1.1.0 TenPaySignHelper.GetJsApiUiPackage() 方法添加 senparcWeixinSettingForTenpayV3 参数
v1.2.1.1 解决微信支付分、完成订单参数可为空的问题 Issue #2989
v1.4.0 添加:微信支付-发起商家转账入参添加转账场景ID、通知地址;返回结果添加批次状态 / PR #3030
v1.4.2 完善 SM 相关方法
v1.6.3 更新支付接口调用过程中的 SM 和 RSA 判断方式
v1.6.5 修改 SM 证书判断逻辑,向下兼容未升级 appsettings.json 的系统 #3084
v1.7.8 兼容微信支付公钥以及平台证书 / PR #3103 感谢 @mojinxun
v2.0.0 升级 SM 支付 / PR #3114 #3115 感谢 @Guili95
v2.0.1 微信支付公钥验签失败问题 / PR #3119 感谢 @Guili95
[2025-06-18] v2.1.0 兼容微信平台证书和微信支付公钥 / PR #3144 感谢 @mojinxun
[2025-07-08] v2.1.1 微信支付分 增加参数device /PR #3156 / Issue #3155 感谢 @mojinxun @zariczhu
[2025-08-17] v2.2.1-beta.1 处理 ResponseErrorJsonResult 中 value 值类型,由 string[] 改为 int
[2025-08-19] v2.2.1 处理 ResponseErrorJsonResult 中 value 值类型,由 int 改为 object
[2025-11-26] v2.3.1 修复 TenPayNotifyHandler 中 Body 赋值问题 / Issue #3220 感谢 @wind2006
[2025-11-26] v2.4.0
1、fix: 多个V3配置的情况,ProfitsharingApis中AddProfitsharingReceiverAsync方法BasePayApis配置问题 / Issue #3226 感谢 @today5040
2、fix: TenPayNotifyHandler Body 读取 bug  / Issue #3220 感谢 @wind2006
3、feat: 添加“企业微信数据与智能专区的接口” /Issue #3091 感谢 @faceman0814
[2026-01-18] v2.3.3 fix: TenPaySignHelper.GetJsApiUiPackage 验签appId 传入无效,导致调起支付验签失败 #3244 感谢 @ByteXiong
[2026-04-23] v2.4.0 feat: Enums.cs 添加 CertType、JsApiAppType 枚举;TenPaySignHelper.GetJsApiUiPackage() 支持 WxOpen 和 NativeApp 两种 JsApi 应用类型
[2026-07-18] v2.4.1 优化微信支付 V3 HTTP 连接、公钥缓存与加密资源管理
1、复用按配置隔离的 HttpClient,并为单次请求设置超时及响应释放
2、增加平台公钥缓存过期、未命中并发刷新及商户配置集合线程安全访问
3、使用密码学安全随机数并及时释放证书、RSA、哈希等加密资源
[2026-07-20] v2.5.0 增强支付下载、通知处理和公钥刷新能力
1、支持账单及营销明细流式下载、增量校验与取消传播
2、增加通知正文限长异步读取、支付公钥并发刷新和线程安全配置访问
3、保持已发布构造函数、DTO 与受保护方法的兼容签名
[2026-07-23] v2.5.1 升级微信支付 V3 基础依赖并补齐支付、治理和电商接口
1、升级 CO2NET.AspNet 2.1.3
2、显式保留 Newtonsoft.Json 13.0.4 以兼容现有 V3 模型
3、补齐异常退款、消费者投诉 2.0、停车还款及退款通知 P1 能力
4、补齐异常退款、投诉和停车支付分接口,增强 HTTP、媒体上传与通知处理
5、补齐普通商户、服务商及间连模式医保自费混合支付接口与通知模型
6、补齐停车场进件、车辆进出、支付同步及停车费用查询 10 项接口
7、补齐服务商品牌入驻提交、双编号查询、撤销及图片上传 5 项接口
8、补齐现行商户开户意愿确认 5 项接口、完整申请材料模型及空正文请求能力
9、补齐不活跃商户身份核实 2 项接口及子商户管控情况查询接口
10、补齐现行特约商户进件 8 项接口、完整进件资料及结算账户审核模型
11、补齐电商收付通商户注销预校验、新旧注销提现及图片上传 10 项接口
12、补齐电商收付通账户余额、商户提现、异常文件及状态通知 14 项能力
13、补齐电商收付通退款申请、双编号查询、垫付回补、异常退款及结果通知 7 项能力
14、补齐全部及单个二级商户资金账单申请、加密元数据和原始文件下载能力
15、补齐跨境付款可出境余额、资金出境、结果查询及购付汇账单 4 项接口
16、补齐商家名片配置与交易连接名片 10 项接口及强类型模型
17、补齐摇一摇有优惠投放计划 5 项调用接口、强类型模型及状态变更通知
18、补齐品牌门店创建、查询、维护、营业状态及收款商户绑定 9 项接口,并支持品牌专用 RSA 鉴权
19、补齐商家名片会员卡模板创建、列表、详情、修改和作废 5 项接口及完整配置模型
20、补齐用户会员卡详情、品牌下列表、PATCH 更新和带正文作废 4 项接口及加密字段模型
21、补齐会员预授权、存量会员导入、开卡确认、用户动态、积分同步、积分兑券和图片上传 7 项接口
22、补齐会员卡、积分兑券和积分同步 3 类品牌专属回调,支持独立密钥解密、微信支付公钥验签和图片上传限长
23、补齐现行连锁品牌分账 10 项请求、动账通知和流式账单下载,并保留历史分账入口行为
24、补齐商品券(单券)27 项服务端请求、2 类通知、强类型模型及 2 MiB 图片上传限长,并保留旧商家券入口
25、补齐商品券(多次优惠)8 项独有批次组和用户券组请求,复用其余 18 项请求与 2 类通知,并保留单券入口
26、统一商品券兼容命名与多次优惠共享模型,修复新增接口的编译集成
[2026-07-28] v2.6.0 补齐商家转账授权、智慧商圈与安全探测接口
1、新增商家转账免确认收款预受理、授权创建/查询/关闭及授权后转账 5 项接口
2、新增商家转账结果与授权结果通知模型及强类型解密入口
3、新增智慧商圈积分提交状态查询和停车状态同步接口
4、新增安全探测接口与成功通知,自动处理敏感字段加密和 Wechatpay-Serial 请求头
[2026-07-31] v2.6.1 升级 CO2NET AspNet 依赖
1、升级 Senparc.CO2NET.AspNet 至 2.1.4
2、同步 Senparc.Weixin 6.25.1 并保持微信支付 V3 Web 适配兼容性