Tingg.Checkout.Net
1.0.1
Prefix Reserved
See the version list below for details.
dotnet add package Tingg.Checkout.Net --version 1.0.1
NuGet\Install-Package Tingg.Checkout.Net -Version 1.0.1
<PackageReference Include="Tingg.Checkout.Net" Version="1.0.1" />
paket add Tingg.Checkout.Net --version 1.0.1
#r "nuget: Tingg.Checkout.Net, 1.0.1"
// Install Tingg.Checkout.Net as a Cake Addin #addin nuget:?package=Tingg.Checkout.Net&version=1.0.1 // Install Tingg.Checkout.Net as a Cake Tool #tool nuget:?package=Tingg.Checkout.Net&version=1.0.1
Tingg Checkout SDK for .NET
The Tingg Checkout SDK gives fast and easy access to the Tingg hosted checkout platform.
Getting started
Explain how to use your package, provide clear and concise getting started instructions, including any necessary steps.
Prerequisites
You need a Tingg Account to use this package. If you don't have one you can contact our account managers through tingg-checkout@cellulant.io and have your business registered & activated.
Visit our Official Documentation to find out more on how you can get started using Tingg.
Once you're signed in, you will need to retrieve your API Keys, that is the IV Key, the Secret Key and the Access Key.
Usage
- To use this library add a using statement for Checkout.Models and Checkout.Service
- You can now initialize CheckoutEncryption passing in the relevant parameters IVKey and SecretKey (advised to have these keys in a separate configuration source)
- Call Encrypt() on the CheckoutEncryption instance passing in the Payload variable.
using Checkout.Models;
using Checkout.Service;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddCors();
// Add services to the container.
var app = builder.Build();
// Configure the HTTP request pipeline.
app.UseHttpsRedirection();
app.UseCors(x=>x
.SetIsOriginAllowed(origin=>true));
app.MapPost("/checkout-encryption", (Payload payload) =>
{
CheckoutEncryption checkoutEncryption = new CheckoutEncryption("1CGBOpd6VZlbWvRD", "AR8heds20wzltkQk");
string encryptedParams = checkoutEncryption.encrypt(payload);
return new CheckoutResponse()
{
encrypted_payload = encryptedParams,
access_key = "0802zRdQR0hlQtAhlt80etwtt2hRlsksdk008lzwlAt2z2Rkk0A8wtQRklRt"
};
});
app.Run();
Additional documentation
Feedback
Feel free to reach us through our discussion forum.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- NETStandard.Library (>= 2.0.3)
- NuGet.Frameworks (>= 4.6.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 |
---|---|---|
1.0.15 | 171 | 3/27/2024 |
1.0.14 | 472 | 1/17/2024 |
1.0.13 | 493 | 1/16/2024 |
1.0.12 | 498 | 1/16/2024 |
1.0.11 | 488 | 1/16/2024 |
1.0.10 | 524 | 1/15/2024 |
1.0.9 | 532 | 1/15/2024 |
1.0.8 | 524 | 1/15/2024 |
1.0.7 | 532 | 1/15/2024 |
1.0.6 | 527 | 1/15/2024 |
1.0.5 | 514 | 1/15/2024 |
1.0.4 | 518 | 1/12/2024 |
1.0.3 | 732 | 12/1/2023 |
1.0.2 | 658 | 11/22/2023 |
1.0.1 | 695 | 11/22/2023 |
This is the initial release