Skip to main content

flexcommerce-payments

Payments for Nigeria and Africa: Paystack, Flutterwave, bank transfer, pay on delivery and a customer wallet — with verified webhooks and a pluggable gateway interface.

Part of FlexCommerce — a complete, modular e-commerce and marketplace backend for Django + DRF, built for Nigeria and Africa. Every app is optional.

Features

  • Every payment re-verified with the provider; amount and currency checked before an order is paid
  • Signature-verified, deduplicated webhooks
  • Refunds through the same gateway or to the wallet
  • Wallet with an idempotent, never-negative ledger and top-ups
  • Add Stripe, Monnify, Opay… by writing one class

Install

pip install flexcommerce-payments
INSTALLED_APPS = [..., "rest_framework", "flexcommerce_core", "flexcommerce_orders", "flexcommerce_payments"]
urlpatterns = [path("api/", include("flexcommerce_core.urls"))]
python manage.py migrate

Example: POST /api/payments/initiate/

Documentation

Requires Python 3.10+, Django 4.2+, Django REST framework 3.14+. MIT licensed.

Metadata

Release files for flexcommerce-payments 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flexcommerce-payments 1.0.0
File Size Uploaded
flexcommerce_payments-1.0.0.tar.gz 20.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flexcommerce-payments 1.0.0
File Interpreter ABI Platform
flexcommerce_payments-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 47.6 kB

Release files / flexcommerce_payments-1.0.0.tar.gz

Download URL flexcommerce_payments-1.0.0.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
bf405d70aac7dfa9c8cfcf35c4a1b69d93d855391773f974895c74fa6181af31
BLAKE2b-256 checksum
How to use checksums
bc5ada532749167cd92a086e0c6ef52fb5a01af5da3b88402f40022d6892684f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / flexcommerce_payments-1.0.0-py3-none-any.whl

Download URL flexcommerce_payments-1.0.0-py3-none-any.whl
Size 27.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c3450f6855272e38afbd046c8fcb6be3b7c22a4d1c52c7df71fd478b369d32bc
BLAKE2b-256 checksum
How to use checksums
7952f820be3a9eda25ed781cfb40f8a2430a1b40ec5d9476b62d5a654a077bf1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page