<?php
return [
    'client_id' => (env("PAYPAL_REST_MODE","sandbox") == "sandbox")
                    ? env("PAYPAL_REST_SANDBOX_CLIENT_ID")
                    : env("PAYPAL_REST_LIVE_CLIENT_ID"),

    'client_secret' => (env("PAYPAL_REST_MODE","sandbox") == "sandbox")
                ? env("PAYPAL_REST_SANDBOX_CLIENT_SECRET")
                : env("PAYPAL_REST_LIVE_CLIENT_SECRET"),

    'test_mode' => (env("PAYPAL_REST_MODE","sandbox") == "sandbox"),

    'guzzle' => [
        'options' => [
            'verify' => (env("APP_ENV","local") != "local")
        ],
    ],
];
