<?php


return [
    'success' => [
        'action' => 'redirect', //can be either redirect or display
        'redirect' => '/{store}/{lang}/checkout/order/complete',
        'function' => '', //this function is executed upon success
        'debug' => true,
    ],
    'fail' => [
        'action' => 'redirect', //can be either redirect or display
        'redirect' => '/{store}/{lang}?notification=22',
    ],

    'bnp1' => [
        'provider' => 'BNP',
        'authorization_type' => 'redirect',
        'data' => ['merchant_identification' => '', 'hmac_key' => '', 'blowfish' => ''],
    ],
    'transaction-global' => [
        'provider' => 'TransactionGlobal',
        'authorization_type' => 'redirect',
        'data' => ['merchant_username' => '', 'merchant_password' => '', 'merchant_key' => '', 'hmac_key_test' => ''],
    ],
    'areeba' => [
        'provider' => 'areeba',
        'authorization_type' => 'redirect',
        'currencies' => ['USD', 'LBP'],
        'data' => ['merchant_id' => '', 'password' => '', 'logo_url' => 'https://patchi.twalab.com/assets/svg/logo.svg'],
    ],
    'payfort' => [
        'provider' => 'payfort',
        'authorization_type' => 'redirect',
        'currencies' => ['SAR'],
        'data' => ['PAYFORT_MERCHANT_ID' => '', 'PAYFORT_ACCESS_CODE' => '', 'PAYFORT_SHA_REQUEST_PHRASE' => '', 'PAYFORT_SHA_RESPONSE_PHRASE' => '', 'PAYFORT_SHA_TYPE' => ''],
    ],
    'paypal_uk' => [
        'provider' => 'paypal',
        'authorization_type' => 'redirect',
        'currencies' => ['GBP'],
        'data' => [
            'client_id' => '',
            'client_secret' => '',
        ],
    ],
    'paypal_ca' => [
        'provider' => 'paypal',
        'authorization_type' => 'redirect',
        'currencies' => ['CAD'],
        'data' => [
            'client_id' => '',
            'client_secret' => '',
        ],
    ],
    'paypal_us' => [
        'provider' => 'paypal',
        'authorization_type' => 'redirect',
        'currencies' => ['USD'],
        'data' => [
            'client_id' => '',
            'client_secret' => '',
        ],
    ],
    'airwallex' => [
        'provider' => 'airwallex',
        'authorization_type' => 'redirect',
        'currencies' => ['AUD'],
        'data' => [
            'client_id' => '',
            'client_secret' => '',
            'api_key' => '',
        ],
    ],
    'tap' => [
        'provider' => 'tap',
        'authorization_type' => 'redirect',
        'currencies' => ['SAR'],
        'data' => [
            'secret_api_key' => '',
            'publishable_api_key' => '',
        ],
    ],
    'bob' => [
        'provider' => 'bob',
        'authorization_type' => 'redirect',
        'currencies' => ['USD'],
        'data' => ['MERCHANT_ID' => '', 'MERCHANT_OPERATOR_ID' => '', 'MERCHANT_PASSWORD' => '', 'MERCHANT_REAL_PASS' => '', 'api' => 'https://test-bobsal.gateway.mastercard.com/api/nvp/version/61', 'script_api' => 'https://test-bobsal.gateway.mastercard.com/checkout/version/61/checkout.js'],
    ],
    'tabby_installments' => [
        'provider' => 'tabby',
        'authorization_type' => 'redirect',
        'currencies' => ['SAR'],
        'data' => [
            'public_key' => '',
            'secret_key' => '',
            'merchant_code' => '',
            'endpoint' => 'https://api.tabby.ai/api/v2',
            'product' => 'installments',
        ],

    ],
    'tabby_pay_later' => [
        'provider' => 'tabby',
        'authorization_type' => 'redirect',
        'currencies' => ['SAR'],
        'data' => [
            'public_key' => '',
            'secret_key' => '',
            'merchant_code' => '',
            'endpoint' => 'https://api.tabby.ai/api/v2',
            'product' => 'pay_later',
        ],

    ],
    'hyperpay_cc' => [
        'provider' => 'hyperpay',
        'authorization_type' => 'redirect',
        'currencies' => ['IQD'],
        'data' => [
            'entity_id' => "",
            'token' =>"",
            'url' => "https://oppwa.com/v1" ,
//          'url' =>  "https://test.oppwa.com/v1",
            'brands' => ["VISA", "MASTER", "STC_PAY"],
            'payment_type' => 'DB',
            'country_code' => 'IQ'
        ]
    ],
    'hyperpay_mada' => [
        'provider' => 'hyperpay',
        'authorization_type' => 'redirect',
        'currencies' => ['IQD'],
        'data' => [
            'entity_id' => "",
            'token' =>"",
            'url' => "https://oppwa.com/v1" ,
//          'url' =>  "https://test.oppwa.com/v1",
            'brands' => ["MADA"],
            'payment_type' => 'DB',
            'country_code' => 'IQ'
        ]
    ],
    'hyperpay_applepay' => [
        'provider' => 'hyperpay',
        'authorization_type' => 'redirect',
        'currencies' => ['IQD'],
        'data' => [
            'entity_id' => "",
            'token' =>"",
            'url' => "https://oppwa.com/v1" ,
//          'url' =>  "https://test.oppwa.com/v1",
            'brands' => ["APPLEPAY"],
            'payment_type' => 'DB',
            'country_code' => 'IQ'
        ]
    ],
];
