Payment

Invoices, transactions, and Mongolian bank gateways. This guide follows version 3.1.7 (03acdf712c).

For order flows, see Sales. For shared payment helpers, see Shared Libraries.

Backend

backend/plugins/payment_api/src/modules/:

  • payment/: invoices, transactions, payments, invoice URLs, QR-email and PDF services.
  • corporateGateway/: bank integrations — Golomt (accounts, statements, transfers), Khan (plus taxes), TDB (orders, configs).

Permissions are declared in src/meta/permissions.ts. The plugin participates in meta.payments callbacks (for example creating deals from payments).

Frontend

frontend/plugins/payment_ui/src/modules/: payment/, corporateGateway/, settings/.

Verify

  1. Create an invoice in staging and confirm the invoice URL renders.
  2. Run a bank transfer or statement sync against sandbox credentials; never use production keys in staging.
  3. Confirm transaction callbacks update the linked deal or order exactly once.

Source references

Was this helpful?