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
支付宝扩展操作 |
|
Come.CollectiveOAuth
Third-party login integration library on ASP.NET |
|
hongmao.HmExtension.Pay
目前支持支付宝部分API |
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 | 53 | 11/11/2024 |
4.9.313 | 421 | 11/4/2024 |
4.9.296 | 275 | 10/16/2024 |
4.9.286 | 254 | 10/8/2024 |
4.9.280 | 337 | 9/19/2024 |
4.9.258 | 424 | 9/4/2024 |
4.9.249 | 417 | 8/23/2024 |
4.9.244 | 417 | 8/19/2024 |
4.9.231 | 455 | 8/7/2024 |
4.9.198 | 774 | 7/15/2024 |
4.9.182 | 565 | 7/1/2024 |
4.9.171 | 801 | 6/17/2024 |
4.9.156 | 836 | 6/3/2024 |
4.9.131 | 919 | 5/11/2024 |
4.9.119 | 767 | 4/28/2024 |
4.9.78 | 1,101 | 3/27/2024 |
4.9.61 | 839 | 3/13/2024 |
4.9.33 | 807 | 1/25/2024 |
4.9.20 | 1,837 | 1/4/2024 |
4.8.76 | 1,607 | 11/14/2023 |
4.8.70 | 510 | 11/7/2023 |
4.8.50 | 729 | 10/19/2023 |
4.8.39 | 1,304 | 10/13/2023 |
4.8.30 | 903 | 9/27/2023 |
4.8.12 | 1,105 | 9/6/2023 |
4.8.2 | 1,683 | 8/23/2023 |
4.7.350 | 1,579 | 8/15/2023 |
4.7.328 | 607 | 7/27/2023 |
4.7.320 | 1,351 | 7/24/2023 |
4.7.295 | 2,019 | 6/28/2023 |
4.7.279 | 1,773 | 6/19/2023 |
4.7.261 | 2,476 | 6/7/2023 |
4.7.256 | 1,740 | 5/30/2023 |
4.7.238 | 968 | 5/16/2023 |
4.7.214 | 1,560 | 4/16/2023 |
4.7.208 | 1,612 | 4/7/2023 |
4.7.200 | 1,233 | 4/1/2023 |
4.7.196 | 1,674 | 3/27/2023 |
4.7.186 | 1,457 | 3/14/2023 |
4.7.166 | 2,029 | 2/22/2023 |
4.7.144 | 2,328 | 1/15/2023 |
4.7.113 | 4,529 | 12/21/2022 |
4.6.442 | 4,797 | 9/20/2022 |
4.6.437 | 3,069 | 9/9/2022 |
4.6.424 | 4,025 | 8/29/2022 |
4.6.398 | 4,607 | 8/8/2022 |
4.6.367 | 3,027 | 7/18/2022 |
4.6.341 | 3,429 | 7/1/2022 |
4.6.340 | 2,721 | 6/30/2022 |
4.6.308 | 3,719 | 6/8/2022 |
4.6.285 | 4,614 | 5/25/2022 |
4.6.240 | 4,997 | 4/19/2022 |
4.6.239 | 4,464 | 4/19/2022 |
4.6.192 | 4,812 | 3/2/2022 |
4.6.174 | 3,726 | 2/15/2022 |
4.6.167 | 3,157 | 1/26/2022 |
4.6.135 | 5,166 | 12/27/2021 |
4.6.109 | 5,929 | 12/3/2021 |
4.6.99 | 4,593 | 2/15/2022 |
4.6.60 | 4,446 | 10/11/2021 |
4.6.0 | 4,736 | 8/3/2021 |
4.5.18 | 3,061 | 7/5/2021 |
4.5.1 | 3,184 | 6/21/2021 |
4.4.63 | 3,268 | 6/9/2021 |
4.4.37 | 5,245 | 4/22/2021 |
4.3.175 | 4,495 | 2/19/2021 |
4.3.111 | 3,805 | 12/21/2020 |
4.3.99 | 1,970 | 12/2/2020 |
4.3.0 | 3,783 | 8/24/2020 |
4.2.109 | 4,877 | 4/8/2020 |
4.2.103 | 1,104 | 4/1/2020 |
4.2.73 | 2,381 | 3/6/2020 |
4.2.30 | 2,206 | 2/16/2020 |
4.2.13 | 3,353 | 1/7/2020 |
4.1.38 | 1,768 | 12/13/2019 |
4.0.7 | 3,337 | 10/10/2019 |