implement .env
This commit is contained in:
27
.env.example
Normal file
27
.env.example
Normal file
@@ -0,0 +1,27 @@
|
||||
# ==============================================
|
||||
# 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!
|
||||
# ==============================================
|
||||
Reference in New Issue
Block a user