<?php
/**
 * MNotify SMS Configuration
 * GHAMECC Choir Management Platform
 * 
 * This file contains MNotify API configuration for SMS services.
 */

require_once __DIR__ . '/env_config.php';

// SMS Configuration - Set to false to disable SMS when API key issues occur
define('SMS_ENABLED', true); // Set to false to disable SMS notifications

// MNotify API credentials
if ($currentEnv === ENV_PRODUCTION) {
    // Production credentials
    define('MNOTIFY_API_KEY', 'fYsvgv21OMSTDTTCo6AMglLLF'); // Replace with actual production API key
    define('MNOTIFY_SENDER_ID', 'GHAMECCTEMA'); // Replace with your approved sender ID
} else {
    // Development credentials
    define('MNOTIFY_API_KEY', 'fYsvgv21OMSTDTTCo6AMglLLF'); // Replace with test API key
    define('MNOTIFY_SENDER_ID', 'GHAMECCTEMA'); // Replace with your approved sender ID
}

// MNotify API endpoints - Updated to match official documentation
define('MNOTIFY_BASE_URL', 'https://api.mnotify.com/api/sms/quick');
define('MNOTIFY_SMS_URL', MNOTIFY_BASE_URL . '?key=' . MNOTIFY_API_KEY);
define('MNOTIFY_BALANCE_URL', 'https://api.mnotify.com/api/balance?key=' . MNOTIFY_API_KEY);

?>
