<?php

return [
    'downloads' => [
        'client' => [
            'ios' => env('LINEUP_CLIENT_IOS_URL', '#'),
            'android' => env('LINEUP_CLIENT_ANDROID_URL', '#'),
        ],
        'liner' => [
            'ios' => env('LINEUP_LINER_IOS_URL', '#'),
            'android' => env('LINEUP_LINER_ANDROID_URL', '#'),
        ],
    ],

    'bo_admin_url' => env('LINEUP_BO_ADMIN_URL', '#'),

'push' => [
    'driver' => env('LINEUP_PUSH_DRIVER', 'log'),
    'fcm_legacy_server_key' => env('LINEUP_FCM_LEGACY_SERVER_KEY'),
    'firebase_project_id' => env('LINEUP_FIREBASE_PROJECT_ID', env('FIREBASE_PROJECT')),
    'firebase_service_account' => env('LINEUP_FIREBASE_SERVICE_ACCOUNT', env('FIREBASE_CREDENTIALS')),
],

    'payments' => [
        // true: no external API calls, deterministic simulated responses.
        'simulate' => env('LINEUP_PAYMENTS_SIMULATE', true),
        // if true, mission settlement fails when client has no default pay_in method.
        'require_method' => env('LINEUP_PAYMENTS_REQUIRE_METHOD', false),
        // percentage retained by platform on each accepted mission (0.025 = 2.5%).
        'commission_rate' => (float) env('LINEUP_PAYMENTS_COMMISSION_RATE', 0.025),

        'stripe' => [
            'secret_key' => env('LINEUP_STRIPE_SECRET_KEY', env('STRIPE_SECRET_KEY', env('STRIPE_SECRET'))),
            'webhook_secret' => env('LINEUP_STRIPE_WEBHOOK_SECRET', env('STRIPE_WEBHOOK_SECRET')),
        ],

        'paypal' => [
            'mode' => env('LINEUP_PAYPAL_MODE', env('PAYPAL_MODE', 'sandbox')),
            'client_id' => env('LINEUP_PAYPAL_CLIENT_ID', env('PAYPAL_CLIENT_ID')),
            'client_secret' => env('LINEUP_PAYPAL_CLIENT_SECRET', env('PAYPAL_SECRET')),
            'webhook_id' => env('LINEUP_PAYPAL_WEBHOOK_ID', env('PAYPAL_WEBHOOK_ID')),
        ],
    ],
];
