YaseiAkira.Alipay
1.0.0.1
See the version list below for details.
dotnet add package YaseiAkira.Alipay --version 1.0.0.1
NuGet\Install-Package YaseiAkira.Alipay -Version 1.0.0.1
<PackageReference Include="YaseiAkira.Alipay" Version="1.0.0.1" />
paket add YaseiAkira.Alipay --version 1.0.0.1
#r "nuget: YaseiAkira.Alipay, 1.0.0.1"
// Install YaseiAkira.Alipay as a Cake Addin #addin nuget:?package=YaseiAkira.Alipay&version=1.0.0.1 // Install YaseiAkira.Alipay as a Cake Tool #tool nuget:?package=YaseiAkira.Alipay&version=1.0.0.1
支付宝支付接口,目前只有APP支付,后续会新增
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
- Microsoft.Net.Http (>= 2.2.29)
- Newtonsoft.Json (>= 12.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
支付宝支付接口,封装了 Alipay Easy SDK,目前只有APP支付,后续会新增
使用
1.APP支付
/// 参数 name="privateKey" 商户私钥
/// param name="commonParams" 公共参数其他非必填数据,如 app_auth_token 等
/// param name="bizContentOtherParams" 请求参数其他非必填参数,如 goods_type,store_id等
/// 返回值说明
/// Success:是否生成支付Body字符串成功
/// Message:成功为空字符串,失败则是错误消息
/// Data:调起APP支付用的 Body 字符串
APPPay.Pay(appId,
subject,
outTradeNo,
total,
notifyUrl,
privateKey,
commonParams,
bizContentOtherParams);