The .NET SDK helps you to communicate with the Worldline Acquiring API. Its primary features are:
- convenient C# wrapper around the API calls and responses
- marshalls C# request objects to HTTP requests
- unmarshalls HTTP responses to C# response objects or C# exceptions
- handling of all the details concerning authentication
- handling of required metadata
See the Worldline Acquiring Documentation for more information on how to use the SDK.
This repository consists out of four main components:
- The source code of the SDK itself:
/Worldline.Acquiring.Sdk
- The source code of the SDK unit tests:
/Worldline.Acquiring.Sdk.Tests
- The source code of the integration tests:
/Worldline.Acquiring.Sdk.IntegrationTests
The .NET SDK supports .NET Standard 2.0 and up. The following packages are required:
- Json.NET 13.0.3 or higher
- NLog 5.3.2 or higher
- System.Collections.Immutable 1.7.1 or higher
- System.Configuration.ConfigurationManager 4.7.0 or higher
To install the latest .NET SDK release, run the following command in the Package Manager Console (Tools -> NuGet Package Manager -> Package Manager Console
) in Visual Studio:
PM> Install-Package Worldline.Acquiring.Sdk
To install the latest .NET SDK release, run the following command:
dotnet add package Worldline.Acquiring.Sdk
To install the latest .NET SDK release as a Strong-Named assembly, follow the instructions above but use Worldline.Acquiring.Sdk.StrongName
instead of Worldline.Acquiring.Sdk
.
This repository uses Visual Studio 2022 to build. Open Worldline.Acquiring.Sdk.sln
in Visual Studio, and click build.