ZhiFou.WeChatPayV3 1.0.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package ZhiFou.WeChatPayV3 --version 1.0.5
NuGet\Install-Package ZhiFou.WeChatPayV3 -Version 1.0.5
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="ZhiFou.WeChatPayV3" Version="1.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ZhiFou.WeChatPayV3 --version 1.0.5
#r "nuget: ZhiFou.WeChatPayV3, 1.0.5"
#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.
// Install ZhiFou.WeChatPayV3 as a Cake Addin
#addin nuget:?package=ZhiFou.WeChatPayV3&version=1.0.5

// Install ZhiFou.WeChatPayV3 as a Cake Tool
#tool nuget:?package=ZhiFou.WeChatPayV3&version=1.0.5

SDK.WeChatPayV3

微信支付SDK,v3版本

调用示例

// 接口调用示例
// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_1.shtml

var client = new WechatPayClient();
var res = client.ExecuteRequest(new TransactionsJsapiRequest
{
    mchid = "161XXXXXXX",
    out_trade_no = "1217752501201407033233368318",
    appid = "wxdace645e0bc2cXXX",
    description = "Image形象店-深圳腾大-QQ公仔",
    notify_url = "https://www.weixin.qq.com/wxpay/pay.php",
    amount = new Amount
    {
        currency = "CNY",
        total = 1
    },
    payer = new Payer { openid = "o4GgauInH_RCEdvrrNGrntXDuXXX" }
}, new WechatOptions("wxdace645e0bc2cXXX", "161XXXXXXX", "cert.p12", "752c744226e5dadad099b406148c9"));
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.6 248 2/12/2023
1.0.5 243 2/4/2023