Skip to content

Online-Payments/sdk-dotnet

Repository files navigation

Online Payments .NET SDK

Introduction

The .NET SDK helps you to communicate with the Online Payments Server 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 Online Payments Developer Hub for more information on how to use the SDK.

Structure of this repository

This repository consists out of three main components:

  1. The source code of the SDK itself: /OnlinePayments.Sdk
  2. The source code of the SDK unit tests: /OnlinePayments.Sdk.Tests
  3. The source code of the integration tests: /OnlinePayments.Sdk.IntegrationTests

Requirements

The .NET SDK supports .NET Standard 2.0 and up. The following packages are required:

Installation

Release

Package Manager

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 OnlinePayments.Sdk

.NET CLI

To install the latest .NET SDK release, run the following command:

dotnet add package OnlinePayments.Sdk

Release (Strong-Named)

To install the latest .NET SDK release as a Strong-Named assembly, follow the instructions above but use OnlinePayments.Sdk.StrongName instead of OnlinePayments.Sdk.

Building the repository

This repository uses Visual Studio 2022 to build. Open OnlinePayments.Sdk.sln in Visual Studio, and click build.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages