-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
46 lines (36 loc) · 1.29 KB
/
Copy path.env.example
File metadata and controls
46 lines (36 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# ToyyibPay Configuration
# - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Your ToyyibPay API key (required)
TOYYIBPAY_API_KEY=your-secret-key-here
# Default category ID for payments (optional)
TOYYIBPAY_CATEGORY_ID=your-category-id
# Environment: dev, staging, or production (default: production)
TOYYIBPAY_ENVIRONMENT=dev
# Default URLs for payment callbacks (optional)
TOYYIBPAY_RETURN_URL=https://yourdomain.com/payment/return
TOYYIBPAY_CALLBACK_URL=https://yourdomain.com/webhooks/toyyibpay
# Database Configuration (optional)
# - - - - - - - - - - - - - - - - - - - - - - - - - - -
# PostgreSQL connection string
DATABASE_URL=postgresql://user:password@localhost:5432/toyyibpay_db
# Application Configuration
# - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Flask/FastAPI secret key
SECRET_KEY=your-app-secret-key
# Application environment
APP_ENV=development
# Debug mode (true/false)
DEBUG=true
# Application port
PORT=8000
# Logging Configuration
# - - - - - - - - - - - - - - - - - - - - - - - - - - -
LOG_LEVEL=INFO
LOG_FILE=/var/log/toyyibpay/app.log
# Email Configuration (for notifications)
# - - - - - - - - - - - - - - - - - - - - - - - - - - -
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASS=your-app-password
EMAIL_FROM=noreply@yourdomain.com