Skip to main content
Version: next

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_HOSTstaging.back.ecard.pledg.coPledg backend host used to call the OAuth2 API. Set to back.ecard.pledg.co in production.
FRONT_COMMERCE_PLEDG_TIMEOUT_IN_MS50000Timeout (in milliseconds) applied to every HTTP call to the Pledg API.
info

FRONT_COMMERCE_PLEDG_HOST only selects the API host. It does not select the credentials: with the gezy flavor, credentials are chosen by FRONT_COMMERCE_ENV (production picks the prod credentials configured in Gezy, any other value picks the test ones). Keep both variables consistent — see Environment and credentials.