<?php
/**
 * SureCart Licensing Configuration
 * 
 * This file contains the configuration for SureCart licensing integration.
 * Update these values with your actual SureCart account details.
 */

// Prevent direct access
if (!defined('ABSPATH')) {
    exit;
}

// SureCart Configuration
define('SWITCHBOARD_SURECART_CONFIG', [
    'plugin_name' => 'WP Switchboard - All-in-One WordPress Toolkit',
    'public_token' => 'pt_V1Z7LSzic88DeucMh3wCxAJ7', // SureCart public token
    'textdomain' => 'wpswitchboard',
    'license_page' => [
        'type' => 'submenu',
        'parent_slug' => 'switchboard',
        'page_title' => 'Manage License',
        'menu_title' => 'Manage License',
        'capability' => 'manage_options',
        'icon_url' => '',
        'position' => null,
        'activated_redirect' => admin_url('admin.php?page=switchboard'),
        'deactivated_redirect' => admin_url('admin.php?page=switchboard'),
    ]
]);

/**
 * Get SureCart configuration
 * 
 * @return array Configuration array
 */
function switchboard_get_surecart_config() {
    return SWITCHBOARD_SURECART_CONFIG;
}
