Skip to main content
Version: next

Environment variables

This reference lists environment variables used by the HiPay extension

Debug

This extension will output some debug information when Front-Commerce runs with with the DEBUG environment variable containing front-commerce:payment:hipay.

Required environment variables

  • FRONT_COMMERCE_HIPAY_SECRET_PASSPHRASE: from the HiPay console (see config)
  • FRONT_COMMERCE_HIPAY_PUBLIC_USERNAME: from the HiPay console (see config)
  • FRONT_COMMERCE_HIPAY_PUBLIC_PASSWORD: from the HiPay console (see config)
  • FRONT_COMMERCE_HIPAY_PRIVATE_USERNAME: from the HiPay console (see config)
  • FRONT_COMMERCE_HIPAY_PRIVATE_PASSWORD: from the HiPay console (see config)
  • FRONT_COMMERCE_HIPAY_ENVIRONMENT: stage or production depending on your targeted environment

Optional environment variables:

  • FRONT_COMMERCE_HIPAY_NOTIFICATION_DELAY: Payment capture notifications can arrive in the same time as payment authorization notifications, you can set a delay (in milliseconds) to prevent the notifications to be stored in the wrong order in the backend