WARNING
Hope Payment Gateway implements security first policy. It means that configuration default values are "almost" production compliant.
Es.
DEBUG=False
orSECURE_SSL_REDIRECT=True
.Be sure to run
./manage.py env --check
and./manage.py env -g all
to check and display your configuration
git clone https://github.com/unicef/hope-payment-gateway
pdm venv create 3.11
pdm install
pdm venv activate in-project
pre-commit install
Uses ./manage.py env
to check required (and optional) variables to put
./manage.py env --check
./manage.py upgrade
Exception are logged in Sentry: https://sentry.io/unicef-jk/