Skip to content

v1.2.0

Latest

Choose a tag to compare

@teesofttech teesofttech released this 12 Jun 05:02
· 62 commits to master since this release

What's New

πŸ†• New Gateway β€” PeachPayments

  • South Africa, Kenya, Nigeria, Botswana support
  • Currencies: ZAR, KES, NGN, BWP, USD
  • Hosted checkout flow via /v1/checkouts
  • Sandbox & live environments
  • Full create / verify / refund support

πŸ§ͺ Test Suite (76 unit tests)

  • xUnit 2.9.2 + Moq + FluentAssertions + coverlet
  • MockHttpMessageHandler β€” queue-based HTTP interception, no network required
  • GatewayConfigFactory β€” config builders for all 15 gateways
  • PaymentRequestFactory β€” test data builders for all request types
  • IntegrationTestBase β€” env-var-guarded base class for live sandbox tests
  • 27 unit tests for PeachPaymentsGateway
  • 15 unit tests for GatewayExtractor webhook detection
  • 14 unit tests for PaymentGatewayFactory DI wiring
  • 20 unit tests for shared test infrastructure

βš™οΈ CI/CD Workflows

  • ci-tests.yml β€” unit tests on every push/PR to master or feature/**
  • integration-tests.yml β€” integration tests nightly & on manual dispatch

πŸ› Bug Fixes & Quality

  • Resolved all CS8618/CS8600/CS8601/CS8603/CS8604 nullable warnings (0 remaining)
  • All DTO/entity/model string properties initialised to string.Empty
  • Exception contextual properties correctly typed as nullable
  • PaystackGateway JsonElement.GetString() null propagation fixed
  • TransactionRepository.GetByReferenceAsync now throws TransactionNotFoundException instead of returning null (explicit contract)