27 lines
1013 B
Plaintext
27 lines
1013 B
Plaintext
# ==============================================
|
|
# QRIS PAYMENT CONFIGURATION - ENVIRONMENT VARIABLES
|
|
# ==============================================
|
|
# Copy this file to .env and fill in the values
|
|
# ==============================================
|
|
|
|
# Midtrans API Configuration
|
|
MIDTRANS_SANDBOX_AUTH=your_midtrans_sandbox_auth_here
|
|
MIDTRANS_PRODUCTION_AUTH=your_midtrans_production_auth_here
|
|
MIDTRANS_CHARGE_URL=https://api.sandbox.midtrans.com/v2/charge
|
|
MIDTRANS_STATUS_BASE_URL=https://api.sandbox.midtrans.com/v2/
|
|
MIDTRANS_SIMULATOR_URL=https://simulator.sandbox.midtrans.com/v2/qris/index
|
|
|
|
# Backend Configuration
|
|
BACKEND_BASE_URL=your_backend_base_url_here
|
|
WEBHOOK_URL=your_webhook_url_here
|
|
|
|
# Application Settings
|
|
MAX_REFRESH_ATTEMPTS=5
|
|
DEFAULT_QR_EXPIRATION_MINUTES=1
|
|
|
|
# ==============================================
|
|
# INSTRUCTIONS:
|
|
# 1. Copy this file to .env in the same directory
|
|
# 2. Fill in the actual values
|
|
# 3. NEVER commit .env to version control!
|
|
# ============================================== |