<?php

return [
    /*
    |--------------------------------------------------------------------------
    | 大观支付配置
    |--------------------------------------------------------------------------
    |
    | app_id: 应用ID
    | app_secret: 应用密钥
    | merchant_no: 商户号
    | notify_url: 异步通知地址
    | return_url: 同步跳转地址
    | is_sandbox: 是否沙箱环境
    | gateway: 支付网关地址
    | sandbox_gateway: 沙箱环境网关地址
    |
    */

    'app_id' => env('DGPAY_APP_ID', ''),
    'app_secret' => env('DGPAY_APP_SECRET', ''),
    'merchant_no' => env('DGPAY_MERCHANT_NO', ''),
    'notify_url' => env('DGPAY_NOTIFY_URL', ''),
    'return_url' => env('DGPAY_RETURN_URL', ''),

    // 是否是测试环境
    'is_sandbox' => env('DGPAY_IS_SANDBOX', false),

    // 支付网关
    'gateway' => env('DGPAY_GATEWAY', 'https://openapi.daguan.tech'),
    'sandbox_gateway' => env('DGPAY_SANDBOX_GATEWAY', 'https://openapi-test.daguan.tech'),
];