Merchant Template (canonical)
Authoritative source: the live repo README at payport-merchant-template/README.md.
Do not use archived drafts under notes/archive/ for implementation.
What you clone
payport-merchant-template/
Public host: https://lab.payportdirect.com (singular lab.).
Claim UI: https://lab.payportdirect.com/town/claim
Town map API: GET /api/v1/town/map
Dual-Mode (required reading)
Village buyer traffic (X-Payment-Proof) always runs with virtual side effects.
Live client traffic (X-PayPort-Client-Key + Idempotency-Key) may fire real adapters only when ENVIRONMENT=production and credentials are configured.
See Academy: Dual-Mode.
Maturity note
Only REFERENCE_PRODUCTION services need full Dual-Mode + live adapters. Placeholders and demos may stay Village-only.