Repository navigation
Releases
v0.4.1 - Init
Mockment v0.4.1 - Init
We're excited to introduce Mockment v0.4.1 - Init, bringing new product simulation capabilities and further improvements to our local-first payment gateway simulator.
This release expands the Simulation Engine with product management operations, allowing developers to create, retrieve, update, enable, disable, and delete products directly within simulation scenarios.
What's New
Product Simulation Steps
- Introduced product management operations within the Simulation Engine.
- Added support for creating and retrieving products through simulation scenarios.
- Added steps for updating existing products.
- Introduced product enable and disable operations.
- Added support for deleting products during simulations.
Simulation Editor Integration
- Added a dedicated Products category to the available simulation steps.
- Integrated product operations into the visual scenario editor.
- Enabled product management steps to be combined with existing simulation workflows.
Improvements
Simulation Engine
- Expanded the simulation step registry to include product operations.
- Improved consistency between product API endpoints and simulation actions.
- Extended simulation step schemas to support product-related operations.
Developer Experience & API
- Updated simulation API documentation to reflect the new product steps.
- Improved simulation step discovery and organization.
- Extended frontend configurations to recognize product simulation actions.
Getting Started
Clone the repository and follow the installation instructions in the README.
git clone https://github.com/arthurmousinho/mockment.git
cd mockment
pnpm install
docker compose up -d
pnpm devImportant Notice
Mockment remains an experimental development and testing tool. It does not process real payments or issue legally valid invoices.
APIs, data models, and behavior may change as the project continues to evolve.
Thank you for following the evolution of Mockment!
Feedback, bug reports, and suggestions are always welcome.
v0.4.0 - Init
Mockment v0.4.0 - Init
We're excited to introduce Mockment v0.4.0 - Init, bringing product-based checkout sessions and further expanding the capabilities of our local-first payment gateway simulator.
This release connects the Products and Checkout modules, introducing line items, automatic amount calculation, and a more complete product purchasing experience.
What's New
Product-Based Checkout Sessions
- Introduced support for creating checkout sessions associated with products.
- Added a dedicated checkout item model to represent products within checkout sessions.
- Added support for multiple products and configurable quantities in a single checkout.
- Introduced automatic checkout amount calculation based on product prices and quantities.
- Added validation for product availability, currency consistency, and checkout amounts.
- Added support for storing individual product prices within checkout items.
Product & Checkout Integration
- Introduced relationships between products, checkout items, and checkout sessions.
- Expanded checkout creation to support standalone, subscription, and product-based flows.
- Added product information to checkout session responses.
- Introduced product selection within the checkout creation form.
- Added a dedicated product picker to simplify checkout configuration.
Checkout Management Experience
- Added product details and line items to the checkout details page.
- Introduced product information within interactive checkout sessions.
- Enhanced checkout interfaces to display purchased products and quantities.
- Improved visibility into checkout items and associated amounts.
Improvements
Developer Experience & API
- Expanded checkout API schemas to support product-based sessions.
- Improved checkout response structures with associated line items.
- Added product names to checkout session data.
- Refactored checkout input schemas for better organization and maintainability.
- Improved consistency across checkout creation flows.
Dashboard & Usability
- Enhanced checkout creation with product selection capabilities.
- Improved checkout details with clearer product and line item information.
- Refined the interactive checkout experience for product-based purchases.
- Improved consistency between product management and checkout workflows.
Getting Started
Clone the repository and follow the installation instructions in the README.
git clone https://github.com/arthurmousinho/mockment.git
cd mockment
pnpm install
docker compose up -d
pnpm devImportant Notice
Mockment remains an experimental development and testing tool. It does not process real payments or issue legally valid invoices.
APIs, data models, and behavior may change as the project continues to evolve.
Thank you for following the evolution of Mockment!
Feedback, bug reports, and suggestions are always welcome.
v0.3.1 - Init
Mockment v0.3.1 - Init
We're excited to introduce Mockment v0.3.1 - Init, bringing further improvements to the checkout experience and usability of our local-first payment gateway simulator.
This release focuses on refining checkout interactions, introducing expiration countdowns, cancellation handling, and improving webhook event configuration.
What's New
Checkout Experience
- Introduced a countdown timer to display the remaining time before checkout expiration.
- Added support for canceling checkout sessions directly through the interface.
- Introduced expiration presets to simplify checkout creation.
- Added a dedicated interface for invalid checkout sessions.
Improvements
Checkout Management
- Refined checkout labels and status presentation for better clarity.
- Improved checkout session interactions and expiration visibility.
- Enhanced the overall checkout experience with more intuitive controls.
Webhooks & Event Configuration
- Improved event selection in webhook endpoint configuration.
- Enhanced checkout event integration within webhook configuration forms.
Getting Started
Clone the repository and follow the installation instructions in the README.
git clone https://github.com/arthurmousinho/mockment.git
cd mockment
pnpm install
docker compose up -d
pnpm devImportant Notice
Mockment remains an experimental development and testing tool. It does not process real payments or issue legally valid invoices.
APIs, data models, and behavior may change as the project continues to evolve.
Thank you for following the evolution of Mockment!
Feedback, bug reports, and suggestions are always welcome.
v0.3.0 - Init
Mockment v0.3.0 - Init
We're excited to introduce Mockment v0.3.0 - Init, bringing a more complete checkout experience and further improvements to our local-first payment gateway simulator.
This release significantly expands checkout capabilities, introducing interactive sessions, payment and subscription integration, automated expiration handling, and a more refined developer experience.
What's New
Checkout Sessions & Payment Flows
- Introduced an enhanced checkout lifecycle with dedicated statuses and state transitions.
- Added support for creating, completing, and canceling checkout sessions through the REST API.
- Added configurable payment methods, amounts, currencies, and expiration dates.
- Introduced checkout completion with payment method selection and simulated payment outcomes.
- Added support for associating customers with checkout sessions.
- Improved checkout event tracking across the entire lifecycle.
Subscription Checkout Integration
- Added support for creating checkout sessions associated with subscriptions.
- Improved coordination between checkout completion, payment creation, and subscription lifecycle transitions.
- Added a subscription picker to simplify checkout configuration.
Checkout Management Experience
- Introduced a dedicated checkout details page with session information and related events.
- Update the checkout interface for simulating payment completion.
- Introduced a checkout creation form with configurable session parameters.
- Enhanced checkout listing with improved status visibility and resource management.
- Added checkout-specific actions to Spotlight Search.
Improvements
Virtual Clock & Automated Processing
- Introduced automatic checkout expiration processing using the virtual clock.
- Added expiration handling when simulated time advances.
- Improved background task processing for subscriptions and checkout sessions.
- Enhanced tick job logging with clearer execution information and timestamps.
Simulation
- Updated checkout simulation steps to support the enhanced session lifecycle.
- Improved payment, invoice, and subscription simulation steps.
- Aligned simulation behaviors with the latest resource workflows.
Developer Experience & API
- Expanded checkout API documentation with updated request and response schemas.
- Improved consistency across payment, subscription, and checkout endpoints.
- Simplified resource relationships by decoupling API keys from individual resources.
- Centralized API key authentication handling.
- Refined event resource references to support a more flexible event architecture.
Dashboard & Usability
- Simplified payment and subscription creation workflows.
- Improved Spotlight Search organization and checkout-related actions.
- Refined checkout status indicators and navigation.
- Improved consistency across resource forms and detail pages.
Getting Started
Clone the repository and follow the installation instructions in the README.
git clone https://github.com/arthurmousinho/mockment.git
cd mockment
pnpm install
docker compose up -d
pnpm devImportant Notice
Mockment remains an experimental development and testing tool. It does not process real payments or issue legally valid invoices.
APIs, data models, and behavior may change as the project continues to evolve.
Thank you for following the evolution of Mockment!
Feedback, bug reports, and suggestions are always welcome.
v0.2.0 - Init
Mockment v0.2.0 - Init
We're excited to introduce Mockment v0.2.0 - Init, the next step in the evolution of our local-first payment gateway simulator.
This release lays the foundation for product management, introduces powerful resource actions through Spotlight Search, and delivers a more refined dashboard experience.
What's New
Products - Initial Foundation
- Introduced the initial structure of the Products module, establishing the foundation for future integrations with other resources.
- Added product creation, listing, retrieval, updating, and deletion through the REST API.
- Manage product information, including names, descriptions, prices, currencies, and external identifiers.
- Enable or disable products without deleting them.
- Added dedicated pages for managing and inspecting products.
- Introduced product validation, unique external identifiers, and API documentation.
This is the first iteration of the Products module. Relationships with other Mockment modules will be introduced in future releases.
Spotlight Search & Quick Actions
- Introduced Spotlight Search, a command palette for navigating pages and interacting with resources.
- Find resources directly using their prefixed identifiers.
- Perform payment actions such as processing, approving, declining, canceling, and refunding.
- Access invoice processing and issuance actions.
- Pause, resume, or cancel subscriptions.
- Replay events and trigger webhook endpoint tests.
- Quickly navigate to customers, API documentation, and recently visited pages.
- Added direct access to individual Mockboard dashboards.
Improvements
Dashboard Experience
- Improved the main application layout with more space for resource tables and metrics.
- Moved the virtual clock into the header for more convenient access.
- Refined appearance settings navigation.
- Added a dedicated application footer.
- Improved overall navigation consistency and accessibility.
Mockboard Navigation
- Added URL-based dashboard selection for Payments, Subscriptions, and Webhooks.
- Dashboard views can now be bookmarked and shared through their URLs.
- Improved navigation between analytics views using Spotlight Search.
Reliability & Polish
- Added a dedicated unexpected error page with options to reload or return home.
- Improved the organization of resource actions within the search interface.
- Refined the responsiveness and consistency of dashboard controls.
Getting Started
Clone the repository and follow the installation instructions in the README.
git clone https://github.com/arthurmousinho/mockment.git
cd mockment
pnpm install
docker compose up -d
pnpm devImportant Notice
Mockment remains an experimental development and testing tool. It does not process real payments or issue legally valid invoices.
APIs, data models, and behavior may change as the project continues to evolve.
Thank you for following the evolution of Mockment!
Feedback, bug reports, and suggestions are always welcome.
v0.1.0 - Init
Mockment v0.1.0 - Init
We're excited to introduce the first public release of Mockment, a local-first payment gateway simulator designed to help developers build, test, and debug payment integrations without relying on external payment providers.
Mockment provides a controlled environment for exploring payment lifecycles, simulating real-world scenarios, and testing asynchronous payment flows.
What's Included
Payments & Billing
- Simulate payments using Card, PIX, and Bank Slip.
- Manage payment lifecycles, including approvals, declines, cancellations, and refunds.
- Create and manage customers.
- Simulate recurring subscriptions and billing cycles.
- Generate mock invoices and PDF documents.
- Create hosted checkout flows with configurable redirect URLs.
Webhooks & Events
- Register and manage webhook endpoints.
- Track payment, subscription, and invoice events.
- Inspect webhook delivery attempts and outcomes.
- Test webhook integrations using signed payloads.
Simulation Engine
- Build custom simulation scenarios using a visual flow editor.
- Connect steps to model payment workflows.
- Execute scenarios and inspect individual step results.
- Monitor simulation execution through live updates.
- Control simulated time using the virtual clock.
Developer Experience
- REST API with Swagger and Scalar documentation.
- API key management.
- Web dashboard for inspecting and managing resources.
- Mockboard for viewing operational metrics.
- Local development environment powered by Docker.
- Customizable dashboard appearance.
Getting Started
Clone the repository and follow the installation instructions in the README.
git clone https://github.com/arthurmousinho/mockment.git
cd mockment
pnpm install
docker compose up -d
pnpm devImportant Notice
Mockment is an experimental development and testing tool. It does not process real payments or issue legally valid invoices.
This is an early release. APIs, data models, and behavior may change as the project evolves.
Thank you for checking out Mockment!
Feedback, bug reports, and suggestions are welcome.