SKitLs.Payments.Lava 1.0.3-alpha.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
This is a prerelease version of SKitLs.Payments.Lava.
dotnet add package SKitLs.Payments.Lava --version 1.0.3-alpha.1
NuGet\Install-Package SKitLs.Payments.Lava -Version 1.0.3-alpha.1
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="SKitLs.Payments.Lava" Version="1.0.3-alpha.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SKitLs.Payments.Lava --version 1.0.3-alpha.1
#r "nuget: SKitLs.Payments.Lava, 1.0.3-alpha.1"
#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 SKitLs.Payments.Lava as a Cake Addin
#addin nuget:?package=SKitLs.Payments.Lava&version=1.0.3-alpha.1&prerelease

// Install SKitLs.Payments.Lava as a Cake Tool
#tool nuget:?package=SKitLs.Payments.Lava&version=1.0.3-alpha.1&prerelease

SKitLs.Payments.Lava Static Badge GitHub Nuget CodeFactor

README version: 2024.04.17, Source Code

The SKitLs.Payments.Lava is a comprehensive toolkit designed to facilitate seamless integration with the Lava payment service.

Requirements

Usage

All methods are implemented in accordance with the specifications provided in the official documentation and automatically sign the request headers with an HMAC SHA256 signature.

Create LavaShop instance

var shop = new LavaShop("shopId", "secret_key");

Create Invoice

var invoiceResponse = await shop.CreateInvoiceAsync("orderId_220102", 100);
if (invoiceResponse.StatusCheck)
{
    var invoice = invoiceResponse.Data;
    // Assuming invoice.InvoiceId = 9adea8c8-f91e-47ba-1be2-93b52e78329a
    var payUrl = invoice.URL;
}
else
{
    var error = invoiceResponse.Error;
}

Get Invoice Status

var invoiceResponse = await shop.GetInvoiceStatusByInvoiceIdAsync("9adea8c8-f91e-47ba-1be2-93b52e78329a");
// OR var invoiceResponse = await shop.GetInvoiceStatusByOrderIdAsync("orderId_220102");
if (invoiceResponse.StatusCheck)
{
    var invoice = invoiceResponse.Data;
}
else
{
    var error = invoiceResponse.ErrorData;
}

WebHooks Model

For the management of WebHooks, the class LavaInvoiceWebHook is available. To authenticate received data, utilize the methods LavaShop.SetAdditionalSecret(string) and LavaShop.CheckSignature(string, string).

Rest Facilities

Currently supported:

Currently not supported:

Contributors

Currently, there are no contributors actively involved in this project. However, our team is eager to welcome contributions from anyone interested in advancing the project's development.

We value every contribution and look forward to collaborating with individuals who share our vision and passion for this endeavor. Your participation will be greatly appreciated in moving the project forward.

Thank you for considering contributing to our project.

License

This project is distributed under the terms of the MIT License.

Copyright (c) 2024, SKitLs

Developer contact

For any issues related to the project, please feel free to reach out to us through the project's GitHub page. We welcome bug reports, feedback, and any other inquiries that can help us improve the project.

You can also contact the project owner directly via their GitHub profile at the following link or email: skitlsdev@gmail.com

Your collaboration and support are highly appreciated, and we will do our best to address any concerns or questions promptly and professionally. Thank you for your interest in our project.

Notes

Thank you for choosing our solution for your needs, and we look forward to contributing to your project's success.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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
1.0.3-alpha.1 42 4/21/2024
1.0.3-alpha.0 40 4/21/2024
1.0.2 80 4/21/2024
1.0.1 85 4/19/2024
1.0.0 100 4/17/2024
1.0.0-alpha.0 43 4/17/2024

(!) Fixed: PayoffWalletCheckUrl updated to a proper one
(!) Fixed: LavaPayoffService enum serialization