<?php

return [

    'mode' => env('PAYPAL_MODE', 'sandbox'), // Can be 'sandbox' or 'live'

    'sandbox' => [
        'client_id' => env('PAYPAL_SANDBOX_CLIENT_ID'),
        'client_secret' => env('PAYPAL_SANDBOX_CLIENT_SECRET'),
        'app_id' => '', // Tu peux le laisser vide
    ],

    'live' => [
        'client_id' => env('PAYPAL_LIVE_CLIENT_ID'),
        'client_secret' => env('PAYPAL_LIVE_CLIENT_SECRET'),
        'app_id' => '',
    ],

    'payment_action' => 'Sale', // Peut être 'Sale', 'Authorization', ou 'Order'
    'currency' => env('PAYPAL_CURRENCY', 'USD'),
    'notify_url' => '', // URL de notification IPN si tu veux gérer cela
    'locale' => 'en_US',
    'validate_ssl' => true, // true en production

];




