<?php

return [
    'PayPlus' => [
        'apiUrl' => env('PAYPLUS_PAYIN_URL', ''),
        'query_path' => env('PAYPLUS_QUERY_PATH', '/up-apis/merchant/payment/query'),
        'apiKey' => env('PAYPLUS_API_KEY', ''),
        'clientId' => env('PAYPLUS_CLIENT_ID', ''),
        'appId' => env('PAYPLUS_APP_ID', ''),
        'publicKey' => env('PAYPLUS_PUBLIC_KEY', ''),
        'currency' => env('PAYPLUS_CURRENCY', 'USD'),
        'country' => env('PAYPLUS_COUNTRY', 'US'),
        'state' => env('PAYPLUS_STATE', 'NA'),
        'zip' => env('PAYPLUS_ZIP', '00000'),
        'area_code' => env('PAYPLUS_AREA_CODE', '1'),
        'language' => env('PAYPLUS_LANGUAGE', 'en-US'),
        'media_source' => env('PAYPLUS_MEDIA_SOURCE', 'organic'),
        'return' => env('APP_URL', '') . '/api/payplus/return',
        'cancel' => env('APP_URL', '') . '/api/payplus/return',
        'notify' => env('APP_URL', '') . '/api/payplus/notify',
        'payment_methods' => [
            1 => 8,
            2 => 2,
            4 => 1,
            8 => 5,
        ],
    ],

    'PayPlusOut' => [
        'apiUrl' => env('PAYPLUS_PAYOUT_URL', ''),
        'appId' => env('PAYPLUS_PAYOUT_APP_ID', ''),
        'appKey' => env('PAYPLUS_PAYOUT_APP_KEY', ''),
        'currency' => env('PAYPLUS_PAYOUT_CURRENCY', 'USD'),
        'cashNotify' => env('APP_URL', '') . '/api/payplus/payout_notify',
    ],
];
