Skip to content

Raylopi/sdk-dotnet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Payments .NET SDK

Introduction

The .NET SDK helps you to communicate with the payment platform 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 meta-data

See the support portal 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 example integration tests: /OnlinePayments.Sdk.IntegrationTests

Requirements

The .NET SDK supports .NET Framework 4.5 and .NET Standard 2.0 and 2.1.

.NET Framework 4.5

When using .NET Framework 4.5, the following packages are required:

In addition, the following references are required, which are part of the .NET Framework:

  • System.Configuration
  • System.Net.Http

.NET Standard 2.0 and 2.1

When using .NET Standard 2.0 or 2.1, 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 2019 to build. Open OnlinePayments.Sdk.sln in Visual Studio, and click build.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%