{"repo":"ashfromsky/acquiremock","free":true,"listed":false,"github":"https://github.com/ashfromsky/acquiremock","clone":"git clone https://github.com/ashfromsky/acquiremock.git","description":"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.","language":"Python","stars":84,"topics":["fastapi","payment-gateway","payments","postgresql","python","api-testing","checkout","developer-tool","docker","e-commerce"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"AcquireMock Mock payment gateway for testing payment integrations without real money. Stop using real payment providers in development. AcquireMock simulates complete payment flows including OTP verification, webhooks, and card storage. --- Quick Start Option 1: Docker (Recommended) Visit http://localhost:8000 Option 2: Manual Setup --- How It Works AcquireMock simulates a real payment gateway with complete payment lifecycle: Basic Flow: Test Card: --- Features - Complete Payment Flow - From invoice creation to webhook delivery - OTP Verification - Email-based payment confirmation - Webhook Delivery - HMAC-SHA256 signed callbacks with retry logic - Card Storage - Save cards for returning customers - Transaction History - Track all operations per user - Auto-Expiry - Payments automatically expire after 15 minutes - Idempotency - Prevent duplicate payment processing - Multi-Language UI - Support for UK/EN/DE/RU with dark mode - Interactive Test Page - Built-in testing interface --- Configuration Environment Variables Create .env file with these settings: Database Options Production (PostgreSQL): Development (SQLite): Email Configuration Email is optional. If not configured, OTP codes will be logged to console for testing. For Gmail, generate an app-specific password at: https://myaccount.google.com/apppasswords --- Usage Examples Create Payment Invoice Response: Handle Webhook Webhook Payload --- Advanced Features Card Storage Users can save cards for future payments: Saved car","default_branch":null,"files":null,"tree":[],"storefront":"/r/ashfromsky","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ashfromsky/acquiremock/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}