SECRET_KEY=django-insecure-your-secret-key-here
DEBUG=False
ALLOWED_HOSTS=app.swiftpos.ng

# CSRF & CORS — IMPORTANT for production
CSRF_TRUSTED_ORIGINS=https://app.swiftpos.ng
CORS_ALLOW_ALL_ORIGINS=False
CORS_ALLOWED_ORIGINS=https://app.swiftpos.ng


# Database (PostgreSQL)
# Database Config
#DB_ENGINE=mysql.connector.django
#DB_NAME=tzyesyiz_app
#DB_USER=tzyesyiz_app
#DB_PASSWORD=Nura210980####
#DB_HOST=localhost
#DB_PORT=3306
# Database (PostgreSQL)


DB_ENGINE=django.db.backends.postgresql
DB_NAME=tzyesyiz_app
DB_USER=tzyesyiz_appp
DB_PASSWORD=Nura210980####
DB_HOST=localhost
DB_PORT=5432

# Email (SSL SMTP — use port 465 for SSL, 587 for TLS)
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
EMAIL_HOST=mail.swiftpos.ng
EMAIL_PORT=465
EMAIL_USE_SSL=True
EMAIL_USE_TLS=False
EMAIL_HOST_USER=contact@swiftpos.ng
EMAIL_HOST_PASSWORD=Nura210980####
DEFAULT_FROM_EMAIL=SwiftPOS Software <contact@swiftpos.ng>

# Admin email(s) — comma-separated for multiple
ADMIN_EMAIL=contact@swiftpos.ng

# WhatsApp number for renewal (international format, no +)
WHATSAPP_NUMBER=2349164601810

# Low stock alert threshold (notify when stock <= this value)
LOW_STOCK_THRESHOLD=10

# Media & Static (override for production)
MEDIA_URL=/media/
STATIC_URL=/static/

# ─── Monnify Payment Gateway ──────────────────────────────────────────────────
# Get these from your Monnify merchant dashboard: https://app.monnify.com/
#MONNIFY_API_KEY=MK_PROD_FJMJ2WSDGL
#MONNIFY_SECRET_KEY=LHX5HGKP1Z5K4RH67NK5VB4U1D8T7DAM
#MONNIFY_CONTRACT_CODE=865095524208
# Use real API (not sandbox)
#MONNIFY_BASE_URL=https://api.monnify.com

MONNIFY_API_KEY=wssss
MONNIFY_SECRET_KEY=jhdsfd
MONNIFY_CONTRACT_CODE=35534345
# Use real API (not sandbox)
MONNIFY_BASE_URL=https://api.monnify.com

CORS_ALLOW_ALL_ORIGINS=True
# Free trial duration in days
TRIAL_DURATION_DAYS=3

# ─── Web AI Integration ──────────────────────────────────────────────────────────
AI_API_PROVIDER=openrouter
AI_API_URL=https://openrouter.ai/api/v1
AI_API_KEY=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
AI_API_MODEL=minimax/minimax-m2.5:free
AI_DAILY_LIMIT=50

