<?php
/**
 * c2c PayPal Integration — Konfiguration
 *
 * 1. Diese Datei kopieren nach `_config.php` (gleicher Ordner)
 * 2. Werte einsetzen
 * 3. `_config.php` NIEMALS in Git committen (in .gitignore)
 *
 * PayPal Credentials holst du auf https://developer.paypal.com :
 *   Apps & Credentials → App auswählen → Sandbox + Live separat
 */

return [

    // ----- PayPal -----
    'paypal' => [
        // Aktiver Modus. true = Tests, false = echtes Geld.
        'sandbox' => true,

        'sandbox_client_id'     => 'AU93_34h4QIv_Tm2QwJ9Y_R-2WUG6bHhICyn0_5zMzHmbYp4kFGIr07qgVKo62ZS5-Xc7k9eehCqxFn1',
        'sandbox_client_secret' => 'EPsIoc73RCAUaIvKE5hgVUhlFMsjdGV0YoYg0yw-NNhEq8BzUMa6am5_B2pU9YKYFcyCHFnRKdkAISEZ',
        'sandbox_webhook_id'    => '0CB3511778982744T',

        'live_client_id'        => '',
        'live_client_secret'    => '',
        'live_webhook_id'       => '',
    ],

    // ----- Datenbank -----
    'db' => [
        'host'     => 'localhost',
        'name'     => 'neubad_c2c',
        'user'     => 'neubad_c2c_chris',
        'password' => '437100!Shpountz',
    ],

    // ----- Preise (CHF) -----
    'pricing' => [
        'portfolio' => 599.00,
        'family'    => 799.00,
    ],

    // ----- URLs -----
    'urls' => [
        'site'     => 'https://come2canada.life',
        'api_base' => 'https://christianwehrli.ca/c2c',
    ],

    // ----- Magic Link -----
    'magic_link' => [
        'ttl_days' => 30,  // Wie lange ist ein Customer-Token gültig
    ],

    // ----- Mail -----
    'mail' => [
        'from'      => 'no-reply@christianwehrli.ca',
        'from_name' => 'come2canada.life',
        'reply_to'  => 'mail@come2canada.life',
    ],
];
