PayBridge.SDK 1.2.0

dotnet add package PayBridge.SDK --version 1.2.0
                    
NuGet\Install-Package PayBridge.SDK -Version 1.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PayBridge.SDK" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PayBridge.SDK" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="PayBridge.SDK" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PayBridge.SDK --version 1.2.0
                    
#r "nuget: PayBridge.SDK, 1.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package PayBridge.SDK@1.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PayBridge.SDK&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=PayBridge.SDK&version=1.2.0
                    
Install as a Cake Tool

Seamlessly integrate multiple payment gateways into your ASP.NET Core applications. v1.2.0 adds PeachPayments gateway, a full xUnit test suite (76 tests), CI/CD workflows, and codebase-wide nullable safety fixes.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.2.0 214 6/12/2026
1.1.0 112 6/11/2026
1.0.4 369 6/11/2025
1.0.3 165 5/25/2025
1.0.2 176 5/23/2025
1.0.1 172 5/23/2025

## v1.2.0 - PeachPayments Gateway + Test Suite + Nullable Safety

### New Gateway
- **PeachPayments** (South Africa, Kenya, Nigeria, Botswana) — Bearer auth, ZAR/KES/NGN/BWP/USD, hosted checkout, sandbox & live environments

### Test Suite (76 unit tests, CI/CD)
- xUnit 2.9.2 test project with Moq, FluentAssertions, coverlet
- MockHttpMessageHandler — queue-based HTTP interception (no network)
- GatewayConfigFactory — config builders for all 15 gateways
- 27 unit tests for PeachPaymentsGateway (constructor, create, verify, refund)
- 15 unit tests for GatewayExtractor webhook detection
- 14 unit tests for PaymentGatewayFactory DI wiring
- 20 unit tests for shared test infrastructure
- GitHub Actions CI: unit tests on every push/PR, integration tests nightly/manual

### Bug Fixes & Quality
- Resolved all CS8618/CS8600/CS8601/CS8603/CS8604 nullable warnings (0 remaining)
- Initialized all DTO/entity/model string properties to string.Empty
- Made exception contextual properties correctly nullable
- Fixed PaystackGateway JsonElement.GetString() null propagation

## v1.1.0 - New African & Nigerian Payment Gateways

### New Gateways
- **Monnify** (Nigeria) — OAuth2 Bearer, NGN, bank transfer & USSD
- **Squad by GTCo** (Nigeria) — Static Bearer, NGN, cards & transfers
- **Korapay** (Nigeria/Africa) — Bearer, NGN, virtual accounts & cards
- **Interswitch / Quickteller** (Nigeria) — OAuth2 + HMAC-SHA512, NGN
- **Remita** (Nigeria) — SHA512 hash auth, government & corporate payments
- **OPay** (Nigeria/Africa) — HMAC-SHA512 signed, mobile money & cards
- **DPO Group** (Africa, 19+ countries) — XML API v6, KES/GHS/UGX/ZAR/USD
- **PawaPay** (Africa mobile money) — REST Bearer, GHS/TZS/UGX/RWF/ZMW and more