Skip to main content
Version: 3.x

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.

NameDefaultDescription
FRONT_COMMERCE_PLEDG_ENVIRONMENTstagingThe 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_MS50000Timeout (in milliseconds) applied to every HTTP call to the Pledg API.