Nanotech Computers built IPaygateService, an open-source .NET Standard library that wraps Paygate, one of South Africa's established payment processors. It lets .NET developers add card, debit card and instant EFT payments without building the integration from scratch.
The challenge
Integrating a payment gateway usually means working through vendor documentation and handling encryption and request-signing details by hand. It also means writing boilerplate that has little to do with the product itself. IPaygateService exists to remove that overhead for .NET developers working with Paygate specifically.
The solution
IPaygateService ships as a NuGet package:
Install-Package IPaygateService
Once installed, initiating a payment is a few lines of code:
var paygateService = new PaygateService("your-paygate-id", "your-encryption-key");
var paymentRequest = new PaymentRequest { Amount = 1000, Reference = "Order123" };
var response = paygateService.InitiatePayment(paymentRequest);
Console.WriteLine(response.TransactionStatus);
The library wraps Paygate's payment initiation flow behind a simple, strongly-typed API, covering credit card, debit card and instant EFT payment methods.
Status
IPaygateService's last published update was version 2.0.2 in 2018. It remains available and installable via NuGet, with plans to bring it up to current .NET standards and the latest Paygate API.