<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Third Party Services
    |--------------------------------------------------------------------------
    |
    | This file is for storing the credentials for third party services such
    | as Mailgun, Postmark, AWS and more. This file provides the de facto
    | location for this type of information, allowing packages to have
    | a conventional file to locate the various service credentials.
    |
    */

    'mailgun' => [
        'domain' => env('MAILGUN_DOMAIN'),
        'secret' => env('MAILGUN_SECRET'),
        'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
        'scheme' => 'https',
    ],

    'postmark' => [
        'token' => env('POSTMARK_TOKEN'),
    ],

    'google_fonts' => [
        'key' => env('GOOGLE_FONTS_API_KEY'),
    ],

    'pexels' => [
        'key' => env('PEXELS_API_KEY'),
    ],

    'ses' => [
        'key' => env('AWS_ACCESS_KEY_ID'),
        'secret' => env('AWS_SECRET_ACCESS_KEY'),
        'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
    ],

    'paypal' => [
        'client_id' => env('PAYPAL_CLIENT_ID'),
        'secret' => env('PAYPAL_SECRET'),
        'sandbox' => env('PAYPAL_SANDBOX', true),
    ],

    'paddle' => [
        'api_key' => env('PADDLE_API_KEY'),
        'client_id' => env('PADDLE_CLIENT_ID'),
        'sandbox' => env('PADDLE_SANDBOX', false),
        'webhook_secret' => env('PADDLE_WEBHOOK_SECRET'),
    ],

    'google' => [
        'client_id' => env('GOOGLE_CLIENT_ID'),
        'client_secret' => env('GOOGLE_CLIENT_SECRET'),
        'redirect' => env('GOOGLE_REDIRECT_URI', rtrim(env('APP_URL', ''), '/').'/checkout/auth/google/callback'),
    ],

    'matomo' => [
        'enabled' => env('MATOMO_ENABLED', false),
        'url' => env('MATOMO_URL'),
        'site_id_marketing' => env('MATOMO_SITE_ID_MARKETING'),
        'site_id_guest' => env('MATOMO_SITE_ID_GUEST'),
        'site_id_admin' => env('MATOMO_SITE_ID_ADMIN'),
    ],

    'revenuecat' => [
        'webhook' => env('REVENUECAT_WEBHOOK_SECRET', ''),
        'product_mappings' => env('REVENUECAT_PRODUCT_MAPPINGS', ''),
        'app_user_prefix' => env('REVENUECAT_APP_USER_PREFIX', 'tenant'),
        'queue' => env('REVENUECAT_WEBHOOK_QUEUE', 'webhooks'),
    ],

];
