Environment variables
This reference lists environment variables used by the Pledg extension.
All Pledg environment variables are optional and have sensible defaults; you only need to override them when your deployment requires it.
| Name | Default | Description |
|---|---|---|
| FRONT_COMMERCE_PLEDG_ENVIRONMENT | staging | The Pledg environment, either staging or production. Drives the API host (staging.back.ecard.pledg.co or back.ecard.pledg.co) and, with the gezy flavor, selects which credential set (test or prod) is used from the Gezy back-office. Set to production on production deployments. |
| FRONT_COMMERCE_PLEDG_TIMEOUT_IN_MS | 50000 | Timeout (in milliseconds) applied to every HTTP call to the Pledg API. |