SKitLs.Payments.Lava
1.0.2
Prefix Reserved
See the version list below for details.
dotnet add package SKitLs.Payments.Lava --version 1.0.2
NuGet\Install-Package SKitLs.Payments.Lava -Version 1.0.2
<PackageReference Include="SKitLs.Payments.Lava" Version="1.0.2" />
paket add SKitLs.Payments.Lava --version 1.0.2
#r "nuget: SKitLs.Payments.Lava, 1.0.2"
// Install SKitLs.Payments.Lava as a Cake Addin #addin nuget:?package=SKitLs.Payments.Lava&version=1.0.2 // Install SKitLs.Payments.Lava as a Cake Tool #tool nuget:?package=SKitLs.Payments.Lava&version=1.0.2
SKitLs.Payments.Lava
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 | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net8.0
- Newtonsoft.Json (>= 13.0.3)
- RestSharp (>= 110.2.0)
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 | 66 | 4/21/2024 |
1.0.3-alpha.0 | 64 | 4/21/2024 |
1.0.2 | 137 | 4/21/2024 |
1.0.1 | 125 | 4/19/2024 |
1.0.0 | 145 | 4/17/2024 |
1.0.0-alpha.0 | 69 | 4/17/2024 |
(!) Fixed: PayoffWalletCheckUrl updated to a proper one