Payment Gateways
payment_gateways in @open-mercato/core
Payment gateway adapter contract, registry, transaction tracking, and webhook routing.
- Built-in
- Payments, Billing & Invoicing
- On in a new app
Ships with Open Mercato 0.9.0
On in a new app. Nothing to enable.
In an app from the empty preset
yarn mercato module enable @open-mercato/ core --module payment_gatewaysThen run yarn generate. Core is already installed, so nothing is downloaded.
Anatomy
ADDS 4 TABLES · 4 PERMISSIONS · EMITS 9 EVENTS
Data
gateway_transactions gateway_payment_ operations gateway_session_ initializations gateway_webhook_ events
API
Routes are not listed for built-in modules.
Security
payment_gateways.
viewmanagecapturerefund
Events
payment_gateways.
- emits
session.created - emits
session.expired - emits
payment.authorized - emits
payment.captured - emits
payment.failed - emits
payment.refunded - emits
payment.cancelled - emits
webhook.received - emits
webhook.failed
UI
1 backend page
Background
3 workers
Not present: AI tools.
Not read: credentials and env, hosts (not in module-facts.v2.json).
From module-facts.v2.json in @open-mercato/cli 0.9.0. Read statically, not executed.