ashfromsky/acquiremock — AcquireMock is a full-featured mock payment gateway built for reliable testing of any e-commerce int…
Description and use
**Brief Summary**
AcquireMock is an open‑source, full‑featured mock payment gateway that reproduces real‑world payment flows—including OTP verification, HMAC‑signed webhooks, and a modern UI—so developers can test e‑commerce integrations without touching live PSPs. Written in Python and packaged with an API/SDK/CLI, it speeds up billing‑or checkout‑related development and automated testing.
**Value**
- **Accelerated integration** – developers can prototype and validate monetisation, billing, or PSP workflows locally, eliminating the need for costly sandbox accounts or trial transactions.
- **Realistic behaviour** – OTP, webhook signing, and UI flows mirror production gateways, catching edge‑case bugs early in CI pipelines.
- **Unified tooling** – a single codebase (Python) offers API, SDK, and CLI entry points, making it easy to embed in backend services, frontend test suites, or DevOps automation.
**Practical Adoption Path**
- **Explore the API/SDK** – clone the repo, run the provided Docker compose or
pip install .to spin up the mock server locally. - **Replace live credentials** – point your application’s payment client to
http://localhost:8000(or the configured host) and use the mock’s test keys. - **Integrate in CI** – add a step that starts the mock container before running integration tests; the built‑in CLI can trigger OTP flows and verify webhook signatures automatically.
- **Extend as needed** – the Python codebase is modular; you can add custom PSP‑specific endpoints or plug in your own webhook verification logic.
**Production Readiness**
- **Maturity**: Medium. The project is actively maintained (last commit 2026‑05‑04), has 76 ⭐ and 8 🍴, and covers both backend and frontend testing needs.
- **Suitability**: Ideal for prototypes, internal QA environments, and automated test pipelines. For production‑grade payment processing you’ll still need a real PSP, but AcquireMock can safely handle pre‑release validation.
- **Considerations**: Review the license, perform a brief security audit of the mock server (especially webhook handling), and verify that the dependency tree (Python packages) aligns with your organization’s policies before promoting it to a shared staging environment.
Problem
ashfromsky/acquiremock helps integrate monetization, billing, or PSP flows faster.
Outcome
Medium: useful for prototypes or internal workflows, with dependency and maintenance checks before production.
Workflow
- integrate billing or checkout
- evaluate PSP flows
- automate payment operations
Evidence
AcquireMock is a full-featured mock payment gateway built for reliable testing of any e-commerce integration. It simulates real payment flows with OTP verification, HMAC-signed webhooks, and a modern user interface.
- Record date: 2026-09-10T20:35:17.548Z