53 lines
2.5 KiB
Markdown
53 lines
2.5 KiB
Markdown
# GovOPlaN Payments
|
|
|
|
<!-- govoplan-repository-type:start -->
|
|
**Repository type:** module (domain).
|
|
<!-- govoplan-repository-type:end -->
|
|
|
|
`govoplan-payments` owns replay-safe payment obligations, human payment
|
|
references, append-only lifecycle evidence, and settlement reconciliation.
|
|
|
|
The first vertical slice implements full manual/offline payment receipt. A
|
|
Case, Workflow, or other procedure calls the Core `payments.requests`
|
|
capability, retains the returned payment ID, and later supplies the exact
|
|
amount/currency, external transaction reference, and a same-tenant versioned or
|
|
checksum-bound evidence reference. Payments rejects changed replays, partial or
|
|
cross-currency matches, cross-tenant evidence, and a second settlement.
|
|
|
|
Version 0.1.20 adds the permission-aware Payments operator workspace at
|
|
`/payments`. It uses the shared Core page, action, form, dialog, and table
|
|
grammar, keeps Reload and Create in stable collection slots, and guides request
|
|
creation and exact evidence-bound manual reconciliation without exposing raw
|
|
JSON.
|
|
|
|
Online payment providers, applicant checkout, partial payments, refunds,
|
|
reversals, Ledger posting, and XRechnung are intentionally separate next
|
|
slices. See [docs/PAYMENTS_DOMAIN.md](docs/PAYMENTS_DOMAIN.md).
|
|
|
|
Focused verification:
|
|
|
|
```sh
|
|
PYTHONPATH=src:/mnt/DATA/git/govoplan-core/src \
|
|
/mnt/DATA/git/govoplan/.venv/bin/python -m unittest discover -s tests
|
|
|
|
cd webui && npm run test:interface-pattern
|
|
```
|
|
|
|
## Git-source WebUI package
|
|
|
|
The repository root exposes `@govoplan/payments-webui` for Git-tagged release
|
|
dependencies. It mirrors the owning `webui/package.json` version, public
|
|
TypeScript/CSS exports and peer requirements, with entry paths under
|
|
`webui/src`. Consumers provide the shared Core/React peers; the facade runs no
|
|
development or install scripts. The source archive contains `webui/src`, this
|
|
README and any repository license file. Run module development checks from `webui/`; Python
|
|
installation remains governed by `pyproject.toml`.
|
|
|
|
Das Repository stellt `@govoplan/payments-webui` am Wurzelpfad für versionierte
|
|
Git-Abhängigkeiten bereit. Version, öffentliche TypeScript-/CSS-Exporte und
|
|
Peer-Anforderungen entsprechen `webui/package.json`; die Einstiegspfade liegen
|
|
unter `webui/src`. Gemeinsame Core-/React-Peers stellt die einbindende Anwendung
|
|
bereit. Die Fassade führt keine Entwicklungs- oder Installationsskripte aus.
|
|
Entwicklungsprüfungen bleiben in `webui/`, die Python-Installation weiterhin in
|
|
`pyproject.toml` definiert.
|