Skip to content

[Feature] Add Flutterwave payment gateway support alongside Paystack #328

Description

@kelly-musk

Problem

lib/bills/payment-gateway.ts references Flutterwave in comments and types but only Paystack is implemented. Flutterwave has broader coverage for payments across Kenya, Ghana, South Africa, Uganda, and Tanzania.

For Aframp's 12-country target market, Flutterwave is essential.

Fix

  1. Implement FlutterwaveGateway class conforming to the PaymentGatewayService interface
  2. Add Flutterwave webhook verification (HMAC with FLW-SECRET-HASH header)
  3. Add a PAYMENT_GATEWAY env var to select the active gateway per country
  4. Wire mobile money routes through Flutterwave's collection API

Impact

High product — Paystack-only support limits the platform to Nigerian users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programfeatureNew feature or missing functionalityinfrastructureHosting, CI/CD, deploymentpaymentsPayment gateway integration

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions