Paddle 0.0.1.31-alpha
dotnet add package Paddle --version 0.0.1.31-alpha
NuGet\Install-Package Paddle -Version 0.0.1.31-alpha
<PackageReference Include="Paddle" Version="0.0.1.31-alpha" />
paket add Paddle --version 0.0.1.31-alpha
#r "nuget: Paddle, 0.0.1.31-alpha"
// Install Paddle as a Cake Addin #addin nuget:?package=Paddle&version=0.0.1.31-alpha&prerelease // Install Paddle as a Cake Tool #tool nuget:?package=Paddle&version=0.0.1.31-alpha&prerelease
Paddle
This package is under development and functionality is being added as needed during developement of my side project loggernow.com which aims to provide easy monitoring and searching of logs.
This project aims to provides sdk to interact with paddle webhooks and apis.
License
Installation
Install c# Paddle Sdk with nuget
dotnet add package Paddle --version 0.0.1.31-alpha
Features
This package exposes below methods to interact with paddle
- Initialize Paddle with logging and without logging
Paddle p=new Paddle(paddlePublicKeyString); //without logging enabled
Paddle p=new Paddle(paddlePublicKeyString,ILogger); //with logging enabled
- VerifySignature This method takes in HttpRequest and returns if paddle webhook is valid or not
Paddle p=new Paddle(your_public_key_string);
bool result=p.VerifySignature(HttpRequest recived);
- ParsePaddleWebhook This method takes in potional parameter of paddle HttpRequest if it wad not already provided while verifying webhook signature earlier and parses the data and return PaddleWebhook with initialised filds.
Paddle p=new Paddle(your_public_key_string);
PaddleWebhook parsedObj=p.ParsePaddleWebhook(HttpRequest recived); //incase the HttpRequest was not provided earlier
or
PaddleWebhook parsedObj=p.ParsePaddleWebhook(); //incase the HttpRequest was provided earlier
This also throws error HttpRequest not initialised
if you dont pass in HttpRequest
while calling this function and you have not provided HttpRequest
before.
Authors
Feedback
If you have any feedback, please reach out to us at raj.patil@loggernow.com
Contributing
Contributions are always welcome! Feel free to make pull request.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- BouncyCastle.NetCore (>= 1.9.0)
- Microsoft.AspNet.WebApi.Client (>= 5.2.9)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Features (>= 6.0.16)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.3)
- PhpSerializerNET (>= 1.3.0)
- System.Net.Http (>= 4.3.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.0.1.31-alpha | 94 | 6/5/2023 |
0.0.1.3-alpha | 76 | 6/4/2023 |
0.0.1.2 | 192 | 6/4/2023 |
0.0.1.1 | 115 | 6/3/2023 |
0.0.1 | 111 | 6/3/2023 |