-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from EasyAbp/wechatpay-v3-jspayment
Preliminary development of WeChat Pay API V3 has been completed. (JS API)
- Loading branch information
Showing
25 changed files
with
345 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/Pay/EasyAbp.Abp.WeChat.Pay.Abstractions/RequestHandling/Dtos/NotifyHttpHeaderModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
namespace EasyAbp.Abp.WeChat.Pay.RequestHandling.Dtos; | ||
|
||
public class NotifyHttpHeaderModel | ||
{ | ||
public string SerialNumber { get; set; } | ||
|
||
public string Timestamp { get; set; } | ||
|
||
public string Nonce { get; set; } | ||
|
||
public string Signature { get; set; } | ||
|
||
public NotifyHttpHeaderModel(string serialNumber, string timestamp, string nonce, string signature) | ||
{ | ||
SerialNumber = serialNumber; | ||
Timestamp = timestamp; | ||
Nonce = nonce; | ||
Signature = signature; | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/Pay/EasyAbp.Abp.WeChat.Pay.Abstractions/RequestHandling/Dtos/NotifyInputDto.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
using JetBrains.Annotations; | ||
|
||
namespace EasyAbp.Abp.WeChat.Pay.RequestHandling.Dtos; | ||
|
||
[Serializable] | ||
public class NotifyInputDto | ||
{ | ||
[CanBeNull] public string MchId { get; set; } | ||
|
||
public string RequestBodyString { get; set; } | ||
|
||
public WeChatPayNotificationInput RequestBody { get; set; } | ||
|
||
public NotifyHttpHeaderModel HttpHeader { get; set; } | ||
} |
22 changes: 0 additions & 22 deletions
22
src/Pay/EasyAbp.Abp.WeChat.Pay.Abstractions/RequestHandling/Dtos/PaidNotifyInput.cs
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
src/Pay/EasyAbp.Abp.WeChat.Pay.Abstractions/RequestHandling/Dtos/RefundNotifyInput.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...ing/Dtos/PaymentNotifyCallbackResponse.cs → ...dling/Dtos/WeChatPayNotificationOutput.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.