AlipaySDKNet 4.0.7
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package AlipaySDKNet --version 4.0.7
NuGet\Install-Package AlipaySDKNet -Version 4.0.7
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="AlipaySDKNet" Version="4.0.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AlipaySDKNet --version 4.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AlipaySDKNet, 4.0.7"
#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 AlipaySDKNet as a Cake Addin #addin nuget:?package=AlipaySDKNet&version=4.0.7 // Install AlipaySDKNet as a Cake Tool #tool nuget:?package=AlipaySDKNet&version=4.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Project Description
支付宝开放平台官方SDK,支持.Net Framework 3.5(SP1)及其以上版本。
Links
Example
//设置证书相关参数
CertParams certParams = new CertParams
{
AlipayPublicCertPath = "支付宝公钥证书路径",
AppCertPath = "商户应用证书路径",
RootCertPath = "支付宝根证书路径"
};
IAopClient client = new DefaultAopClient("https://openapi.alipay.com/gateway.do", APPID, APP_PRIVATE_KEY, "json", "1.0", "RSA2", "utf-8", false, certParams);
//实例化具体API对应的request类,类名称和接口名称对应,当前调用接口名称,如:alipay.open.public.template.message.industry.modify
AlipayOpenPublicTemplateMessageIndustryModifyRequest request = new AlipayOpenPublicTemplateMessageIndustryModifyRequest();
//SDK已经封装掉了公共参数,这里只需要传入业务参数
//此次只是参数展示,未进行字符串转义,实际情况下请转义
request.BizContent="{" +
" \"primary_industry_name\":\"IT科技/IT软件与服务\"," +
" \"primary_industry_code\":\"10001/20102\"," +
" \"secondary_industry_code\":\"10001/20102\"," +
" \"secondary_industry_name\":\"IT科技/IT软件与服务\"" +
" }";
AlipayOpenPublicTemplateMessageIndustryModifyResponse response = client.CertificateExecute(request);
//调用成功,则处理业务逻辑
if(response.isSuccess()){
//.....
}
更多示例请访问: 支付宝开放平台-文档中心-服务端SDK主页
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net35 is compatible. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. 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.
-
.NETFramework 3.5
- BouncyCastle (>= 1.8.5)
- jayrock-json (>= 0.9.16530.1)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on AlipaySDKNet:
Package | Downloads |
---|---|
Liwendong.Extensions.Alipay
支付宝扩展操作 |
|
hongmao.HmExtension.Pay
目前支持支付宝部分API |
|
Come.CollectiveOAuth
Third-party login integration library on ASP.NET |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on AlipaySDKNet:
Repository | Stars |
---|---|
geekoutnet/CollectiveOAuth
.Net平台(C#) 史上最全的整合第三方登录的开源库 => 环境支持 .NET Framework 4.5 ~ 4.6.2 和 .NetCore 3.1。目前已包含Github、Gitee、钉钉、百度、支付宝、微信、企业微信、腾讯云开发者平台(Coding)、OSChina、微博、QQ、Google、Facebook、抖音、领英、小米、微软、今日头条、Teambition、StackOverflow、Pinterest、人人、华为、酷家乐、Gitlab、美团、饿了么、等第三方平台的授权登录。以下平台正在接入中: 推特、淘宝
|
Version | Downloads | Last updated |
---|---|---|
4.9.320 | 218 | 11/11/2024 |
4.9.313 | 501 | 11/4/2024 |
4.9.296 | 341 | 10/16/2024 |
4.9.286 | 311 | 10/8/2024 |
4.9.280 | 418 | 9/19/2024 |
4.9.258 | 495 | 9/4/2024 |
4.9.249 | 433 | 8/23/2024 |
4.9.244 | 472 | 8/19/2024 |
4.9.231 | 479 | 8/7/2024 |
4.9.198 | 833 | 7/15/2024 |
4.9.182 | 622 | 7/1/2024 |
4.9.171 | 866 | 6/17/2024 |
4.9.156 | 873 | 6/3/2024 |
4.9.131 | 979 | 5/11/2024 |
4.9.119 | 812 | 4/28/2024 |
4.9.78 | 1,163 | 3/27/2024 |
4.9.61 | 892 | 3/13/2024 |
4.9.33 | 812 | 1/25/2024 |
4.9.20 | 1,921 | 1/4/2024 |
4.8.76 | 1,650 | 11/14/2023 |
4.8.70 | 516 | 11/7/2023 |
4.8.50 | 734 | 10/19/2023 |
4.8.39 | 1,368 | 10/13/2023 |
4.8.30 | 908 | 9/27/2023 |
4.8.12 | 1,113 | 9/6/2023 |
4.8.2 | 1,737 | 8/23/2023 |
4.7.350 | 1,631 | 8/15/2023 |
4.7.328 | 612 | 7/27/2023 |
4.7.320 | 1,431 | 7/24/2023 |
4.7.295 | 2,058 | 6/28/2023 |
4.7.279 | 1,835 | 6/19/2023 |
4.7.261 | 2,520 | 6/7/2023 |
4.7.256 | 1,756 | 5/30/2023 |
4.7.238 | 973 | 5/16/2023 |
4.7.214 | 1,565 | 4/16/2023 |
4.7.208 | 1,617 | 4/7/2023 |
4.7.200 | 1,238 | 4/1/2023 |
4.7.196 | 1,680 | 3/27/2023 |
4.7.186 | 1,464 | 3/14/2023 |
4.7.166 | 2,034 | 2/22/2023 |
4.7.144 | 2,334 | 1/15/2023 |
4.7.113 | 4,567 | 12/21/2022 |
4.6.442 | 4,804 | 9/20/2022 |
4.6.437 | 3,076 | 9/9/2022 |
4.6.424 | 4,081 | 8/29/2022 |
4.6.398 | 4,662 | 8/8/2022 |
4.6.367 | 3,037 | 7/18/2022 |
4.6.341 | 3,437 | 7/1/2022 |
4.6.340 | 2,726 | 6/30/2022 |
4.6.308 | 3,725 | 6/8/2022 |
4.6.285 | 4,679 | 5/25/2022 |
4.6.240 | 5,069 | 4/19/2022 |
4.6.239 | 4,529 | 4/19/2022 |
4.6.192 | 4,834 | 3/2/2022 |
4.6.174 | 3,731 | 2/15/2022 |
4.6.167 | 3,164 | 1/26/2022 |
4.6.135 | 5,238 | 12/27/2021 |
4.6.109 | 5,966 | 12/3/2021 |
4.6.99 | 4,648 | 2/15/2022 |
4.6.60 | 4,451 | 10/11/2021 |
4.6.0 | 4,748 | 8/3/2021 |
4.5.18 | 3,068 | 7/5/2021 |
4.5.1 | 3,190 | 6/21/2021 |
4.4.63 | 3,343 | 6/9/2021 |
4.4.37 | 5,293 | 4/22/2021 |
4.3.175 | 4,574 | 2/19/2021 |
4.3.111 | 3,887 | 12/21/2020 |
4.3.99 | 1,976 | 12/2/2020 |
4.3.0 | 3,791 | 8/24/2020 |
4.2.109 | 4,885 | 4/8/2020 |
4.2.103 | 1,109 | 4/1/2020 |
4.2.73 | 2,391 | 3/6/2020 |
4.2.30 | 2,214 | 2/16/2020 |
4.2.13 | 3,377 | 1/7/2020 |
4.1.38 | 1,778 | 12/13/2019 |
4.0.7 | 3,352 | 10/10/2019 |