Skip to content

Commit

Permalink
支付宝 增加退款异步通知
Browse files Browse the repository at this point in the history
  • Loading branch information
Varorbc committed Jul 23, 2018
1 parent 1dca65c commit c7cc70d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/PaySharp.Alipay/AlipayGateway.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public AlipayGateway(IOptions<Merchant> merchant)

protected override bool IsPaySuccess => NotifyResponse.TradeStatus == "TRADE_SUCCESS";

protected override bool IsRefundSuccess { get; }
protected override bool IsRefundSuccess => NotifyResponse.RefundAmount > 0;

protected override bool IsCancelSuccess { get; }

Expand Down
5 changes: 2 additions & 3 deletions src/PaySharp.Alipay/PaySharp.Alipay.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
<TargetFrameworks>net45;netstandard2.0</TargetFrameworks>
<Title>PaySharp.Alipay</Title>
<Description>支付宝支付</Description>
<Version>1.0.1</Version>
<Version>1.0.2</Version>
<PackageTags>dotnetcore;pay;alipay;</PackageTags>
<PackageReleaseNotes>
1.Net环境添加通过配置文件注册方式
2.修改Core下配置方式
增加退款异步通知
</PackageReleaseNotes>
</PropertyGroup>

Expand Down

0 comments on commit c7cc70d

Please sign in to comment.