Document payment verification and trezor safekeeping
This commit is contained in:
@@ -102,6 +102,23 @@ SHKeeper is the crypto payment gateway. See [[Payment Flow]] and [[SHKeeper Inte
|
||||
|
||||
---
|
||||
|
||||
## Payments — Provider Selection
|
||||
|
||||
| Name | Repo | Required | Default | Example | Purpose |
|
||||
|------|------|----------|---------|---------|---------|
|
||||
| `PAYMENT_PROVIDER` | backend | optional | `shkeeper` | `request.network` | Active provider for new payment intents |
|
||||
| `PAYMENT_DEFAULT_PROVIDER` | backend | optional | `shkeeper` | `shkeeper` | Fallback alias when `PAYMENT_PROVIDER` is unset |
|
||||
| `PAYMENT_ENABLED_PROVIDERS` | backend | optional | `shkeeper` | `shkeeper,request.network` | Comma-separated providers allowed at runtime |
|
||||
| `PAYMENT_ROLLBACK_PROVIDER` | backend | optional | `shkeeper` | `shkeeper` | Provider used when selected provider is not enabled |
|
||||
| `PAYMENT_PROVIDER_MODE` | backend | optional | `live` | `dry-run` | Provider mode: `live`, `dry-run`, or `read-only` |
|
||||
| `REQUEST_NETWORK_ENABLED` | backend | optional | `false` | `true` | Adds `request.network` to enabled providers when no explicit list is set |
|
||||
| `PAYMENT_REQUEST_NETWORK_COHORT_PERCENT` | backend | optional | `0` | `10` | Percent of new checkout cohort eligible for Request Network |
|
||||
| `PAYMENT_LEDGER_ENFORCEMENT` | backend | optional | `false` | `true` | Enforce ledger gates for release/refund |
|
||||
| `PAYMENT_RECONCILIATION_ENABLED` | backend | optional | `false` | `true` | Enable scheduled provider reconciliation jobs |
|
||||
| `TREZOR_SAFEKEEPING_REQUIRED` | backend | optional | `false` | `true` | Optional hardware-signature gate for release/refund confirmation. Only the literal value `true` enforces Trezor proof. |
|
||||
|
||||
---
|
||||
|
||||
## Payments — DePay / Web3 (frontend)
|
||||
|
||||
| Name | Repo | Required | Default | Example | Purpose |
|
||||
@@ -249,6 +266,13 @@ SMTP_PASS=
|
||||
SMTP_FROM="AMN <no-reply@amn.gg>"
|
||||
|
||||
# SHKeeper (set when ready)
|
||||
PAYMENT_PROVIDER=shkeeper
|
||||
PAYMENT_ENABLED_PROVIDERS=shkeeper
|
||||
PAYMENT_ROLLBACK_PROVIDER=shkeeper
|
||||
REQUEST_NETWORK_ENABLED=false
|
||||
PAYMENT_LEDGER_ENFORCEMENT=false
|
||||
PAYMENT_RECONCILIATION_ENABLED=false
|
||||
TREZOR_SAFEKEEPING_REQUIRED=false
|
||||
SHKEEPER_BASE_URL=
|
||||
SHKEEPER_API_URL=
|
||||
SHKEEPER_API_KEY=
|
||||
|
||||
Reference in New Issue
Block a user