Apaya.Connector.Template
1.0.1
Requires NuGet 3.3.0 or higher.
dotnet add package Apaya.Connector.Template --version 1.0.1
NuGet\Install-Package Apaya.Connector.Template -Version 1.0.1
<PackageReference Include="Apaya.Connector.Template" Version="1.0.1" />
paket add Apaya.Connector.Template --version 1.0.1
#r "nuget: Apaya.Connector.Template, 1.0.1"
// Install Apaya.Connector.Template as a Cake Addin #addin nuget:?package=Apaya.Connector.Template&version=1.0.1 // Install Apaya.Connector.Template as a Cake Tool #tool nuget:?package=Apaya.Connector.Template&version=1.0.1
Introduction
Apaya is a payments Orchestration platform linking Merchants to multiple payment providers through one link. This code template example is to be used by third party connectors or developers to aid development of connector integrations between Apaya and third party Payment Providers.
This Example Template solution includes the following:
- Connector Template Project
- Connector Test Project
The Connector Template Project is an example of a connector plugin that enables Apayas generic connector API to link / integrate into a specific connectors API. You can use this example to develope specific plugins for specific Connectors.
The Connector Test Project is an example test harness to enable you to test your logic / connections to the specific connector.
Getting Started
- Create a copy of this solution and rename files where appropriate to the specific connector you are coding.
- Within the Connector Template Project, specific configuration keys will be required so the main TemplatePlugin file would change to include all the specific required keys (e.g. apiKey, Password etc) and also to set the name of your connector plugin.
- Change TemplatePlugin name to the specific connector/provider name → ConnectorPlugin.
- The Models folder holds all the various request/response payload schemas, and is a key area you would change to match the schemas of the specific connector being developed.
- Within the Test Project, amend the example data values (as likely to need changing) to match test runs that you do to the connector. Especially when checking / updating previous transactions, the relevant ids would need to match.
- Once tested and happy it works, package up the build and source code and send to us.
Build and Test
Build your amended version of these C# projects and test your integration.
Contribute
Please use this example as the starting point to develope connector integrations between Apaya and third party payment providers.
Contact Apaya for more details. support@apaya.io.
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Apaya.Connector.Core (>= 1.9.6)
- RestSharp (>= 106.15.0)
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.1 | 335 | 9/21/2023 |