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 | 115 | 11/11/2024 |
4.9.313 | 444 | 11/4/2024 |
4.9.296 | 289 | 10/16/2024 |
4.9.286 | 282 | 10/8/2024 |
4.9.280 | 380 | 9/19/2024 |
4.9.258 | 437 | 9/4/2024 |
4.9.249 | 429 | 8/23/2024 |
4.9.244 | 418 | 8/19/2024 |
4.9.231 | 456 | 8/7/2024 |
4.9.198 | 787 | 7/15/2024 |
4.9.182 | 577 | 7/1/2024 |
4.9.171 | 813 | 6/17/2024 |
4.9.156 | 837 | 6/3/2024 |
4.9.131 | 937 | 5/11/2024 |
4.9.119 | 779 | 4/28/2024 |
4.9.78 | 1,124 | 3/27/2024 |
4.9.61 | 860 | 3/13/2024 |
4.9.33 | 808 | 1/25/2024 |
4.9.20 | 1,869 | 1/4/2024 |
4.8.76 | 1,608 | 11/14/2023 |
4.8.70 | 511 | 11/7/2023 |
4.8.50 | 730 | 10/19/2023 |
4.8.39 | 1,334 | 10/13/2023 |
4.8.30 | 904 | 9/27/2023 |
4.8.12 | 1,107 | 9/6/2023 |
4.8.2 | 1,701 | 8/23/2023 |
4.7.350 | 1,597 | 8/15/2023 |
4.7.328 | 608 | 7/27/2023 |
4.7.320 | 1,363 | 7/24/2023 |
4.7.295 | 2,031 | 6/28/2023 |
4.7.279 | 1,785 | 6/19/2023 |
4.7.261 | 2,477 | 6/7/2023 |
4.7.256 | 1,752 | 5/30/2023 |
4.7.238 | 969 | 5/16/2023 |
4.7.214 | 1,561 | 4/16/2023 |
4.7.208 | 1,613 | 4/7/2023 |
4.7.200 | 1,234 | 4/1/2023 |
4.7.196 | 1,675 | 3/27/2023 |
4.7.186 | 1,459 | 3/14/2023 |
4.7.166 | 2,030 | 2/22/2023 |
4.7.144 | 2,329 | 1/15/2023 |
4.7.113 | 4,530 | 12/21/2022 |
4.6.442 | 4,798 | 9/20/2022 |
4.6.437 | 3,070 | 9/9/2022 |
4.6.424 | 4,038 | 8/29/2022 |
4.6.398 | 4,608 | 8/8/2022 |
4.6.367 | 3,031 | 7/18/2022 |
4.6.341 | 3,430 | 7/1/2022 |
4.6.340 | 2,722 | 6/30/2022 |
4.6.308 | 3,721 | 6/8/2022 |
4.6.285 | 4,629 | 5/25/2022 |
4.6.240 | 5,017 | 4/19/2022 |
4.6.239 | 4,485 | 4/19/2022 |
4.6.192 | 4,827 | 3/2/2022 |
4.6.174 | 3,727 | 2/15/2022 |
4.6.167 | 3,160 | 1/26/2022 |
4.6.135 | 5,183 | 12/27/2021 |
4.6.109 | 5,930 | 12/3/2021 |
4.6.99 | 4,606 | 2/15/2022 |
4.6.60 | 4,447 | 10/11/2021 |
4.6.0 | 4,740 | 8/3/2021 |
4.5.18 | 3,062 | 7/5/2021 |
4.5.1 | 3,185 | 6/21/2021 |
4.4.63 | 3,300 | 6/9/2021 |
4.4.37 | 5,258 | 4/22/2021 |
4.3.175 | 4,525 | 2/19/2021 |
4.3.111 | 3,825 | 12/21/2020 |
4.3.99 | 1,971 | 12/2/2020 |
4.3.0 | 3,785 | 8/24/2020 |
4.2.109 | 4,878 | 4/8/2020 |
4.2.103 | 1,105 | 4/1/2020 |
4.2.73 | 2,382 | 3/6/2020 |
4.2.30 | 2,208 | 2/16/2020 |
4.2.13 | 3,360 | 1/7/2020 |
4.1.38 | 1,771 | 12/13/2019 |
4.0.7 | 3,343 | 10/10/2019 |