feat: add Nabeh integration with phone-to-user resolution and environment configuration support
This commit is contained in:
41
walletintaleq.intaleq.xyz/v2/.env.example
Normal file
41
walletintaleq.intaleq.xyz/v2/.env.example
Normal file
@@ -0,0 +1,41 @@
|
||||
# =============================================================================
|
||||
# Wallet Payment Server - Environment Configuration
|
||||
# =============================================================================
|
||||
# Copy this to .env and fill in values:
|
||||
# cp .env.example .env
|
||||
# Or deploy to: /home/intaleq-walletintaleq/env/.env
|
||||
# =============================================================================
|
||||
|
||||
# Database
|
||||
dbname=WalletIntaleqDB
|
||||
USER=root
|
||||
PASS=<CHANGE_ME>
|
||||
|
||||
# JWT / Security
|
||||
SECRET_KEY=<CHANGE_ME>
|
||||
SECRET_KEY_HMAC=<CHANGE_ME>
|
||||
FP_PEPPER=<CHANGE_ME>
|
||||
S2S_SHARED_KEY=<CHANGE_ME>
|
||||
PAYMENT_KEY=<CHANGE_ME>
|
||||
WEBHOOK_AUTH_TOKEN=<CHANGE_ME>
|
||||
CRON_KEY=<CHANGE_ME>
|
||||
|
||||
# Encryption
|
||||
keyOfApp=<32_byte_hex>
|
||||
initializationVector=<16_byte_hex>
|
||||
|
||||
# Gemini AI (receipt analysis)
|
||||
GEMINI_API_KEY=<CHANGE_ME>
|
||||
|
||||
# Nabeh Integration (must match Nabeh's .env)
|
||||
NABEH_API_KEY=<CHANGE_ME_SHARED_SECRET>
|
||||
|
||||
# Siro Backend URL (for phone→driverID resolution)
|
||||
# Used by verify_payment.php to call resolve_user.php
|
||||
# Example: https://api-syria.siromove.com/siro
|
||||
SIRO_BACKEND_URL=https://api-syria.siromove.com/siro
|
||||
|
||||
# Admin login
|
||||
passwordnewpassenger=<CHANGE_ME>
|
||||
allowedWallet1=Tripz-Wallet
|
||||
allowedWallet2=Intaleq-Wallet
|
||||
Reference in New Issue
Block a user