Paddle 0.0.1.31-alpha

This is a prerelease version of Paddle.
dotnet add package Paddle --version 0.0.1.31-alpha
NuGet\Install-Package Paddle -Version 0.0.1.31-alpha
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="Paddle" Version="0.0.1.31-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Paddle --version 0.0.1.31-alpha
#r "nuget: Paddle, 0.0.1.31-alpha"
#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 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

Logo

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

MIT 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 77 6/5/2023
0.0.1.3-alpha 63 6/4/2023
0.0.1.2 134 6/4/2023
0.0.1.1 100 6/3/2023
0.0.1 96 6/3/2023