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.
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.
var shop = new LavaShop("shopId", "secret_key");
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;
}
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;
}
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)
.
Currently supported:
Currently not supported:
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.
This project is distributed under the terms of the MIT License.
Copyright (c) 2024, SKitLs
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.
Thank you for choosing our solution for your needs, and we look forward to contributing to your project's success.