PaymentGatewayClient 0.0.1
Install-Package PaymentGatewayClient -Version 0.0.1
dotnet add package PaymentGatewayClient --version 0.0.1
<PackageReference Include="PaymentGatewayClient" Version="0.0.1" />
paket add PaymentGatewayClient --version 0.0.1
#r "nuget: PaymentGatewayClient, 0.0.1"
// Install PaymentGatewayClient as a Cake Addin
#addin nuget:?package=PaymentGatewayClient&version=0.0.1
// Install PaymentGatewayClient as a Cake Tool
#tool nuget:?package=PaymentGatewayClient&version=0.0.1
Payment Gateway Client
There are several "smaller" merchant payment gateways that all use the same API system. This client is meant to work with all of them. Below is a list of known providers that use this system.
Original documentation: https://integratepayments.transactiongateway.com/merchants/resources/integration/integration_portal.php
https://www.integratepayments.com/payment-gateway/integrate-payments-query-api
http://status.transactiongateway.com/
Known Providers
- 0 Merchant
- Advanced Merchant Group
- Aliant Payments
- Bottom Line Payments
- CanyonPay
- CryptoBucks (not for their crypto currency API)
- CyoGate
- Durango Merchant Services
- Easy Pay Direct
- Electronic Processing of North America (EPNA)
- Inspire Commerce (.pay / dot pay)
- Merchant Guy
- Merchant One
- MSG Payment Systems
- National Processing
- Network Merchants (NMI)
- Payabli (Centavo)
- PayKings
- Payscape
- PlanetAuthorize
- RedFynn Technologies
- SecureGlobalPay
- SkyBank Financial
- TranzCrypt
- Valued Merchant Services
- Vericheck
- VizyPay
Note: This is not an indication of endorsement and there is no guarantee of compatibility. With the exception of NMI, these providers have not been tested. Based on current experience, it may be possible to use any of these (and new) providers using the NMI
API endpoint though this use case has not been tested.
If you find another gateway that uses this system, please file an issue to get this list updated.
Usage
Credit/Debit Cards
var securityKey = "6457Thfj624V5r7WUwc5v6a68Zsd6YEm";
var client = new GatewayClient(securityKey);
Sale sale = new Sale
{
CardNumber = "4111111111111111",
CardExpiration = "0323",
CVV = "999",
Amount = "5.00",
FirstName = "John",
LastName = "Smith",
Address1 = "1234 Main St.",
City = "Chicago",
State = "IL",
Zip = "60193",
Payment = "creditcard"
};
var result = client.Sale(sale);
ACH/eCheck
var securityKey = "6457Thfj624V5r7WUwc5v6a68Zsd6YEm";
var client = new GatewayClient(securityKey);
Sale sale = new Sale
{
CheckABA = "123123123",
CheckAccount = "123123123",
CheckName = "John Smith",
StandardEntryClass = "WEB",
Amount = "5.00",
FirstName = "John",
LastName = "Smith",
Address1 = "1234 Main St.",
City = "Chicago",
State = "IL",
Zip = "60193",
Payment = "check",
AccountHolderType = "business",
AccountType = "checking"
};
var result = client.Sale(sale);
Response
public class GatewayResponse {
public readonly int Response; // 1 for approved, 2 for declined, 3 for error
public readonly string ResponseText;
public readonly ReadOnlyDictionary<string, string> Data;
}
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp3.1 |
.NET Framework | net472 net48 |
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.7.2
- No dependencies.
-
net5.0
- No dependencies.
-
net6.0
- No dependencies.
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 |
---|---|---|
0.0.1 | 66 | 4/25/2022 |
Initial public release.