Server : Apache System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64 User : tradze ( 1001) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/tradze/www/dev-test/config/ |
<?php
/*
* This file is part of the overtrue/laravel-payment.
*
* (c) overtrue <i@overtrue.me>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
return [
// The default gateway name which configured in `gateways` section.
'default_gateway' => 'sagepay',
// The default options for every gateways.
'default_options' => [
'test_mode' => true,
// ...
],
/*
* The gateways, you can config option by camel case or snake_case name.
*
* the option name is followed from gateway class, for example:
*
* $gateway->setMchId('overtrue');
*
* you can configured as:
* 'mch_id' => 'overtrue',
* or:
* 'mchId' => 'overtrue',
*/
'gateways' => [
'paypal' => [
'driver' => 'PayPal_Express',
'options' => [
'username' => env('PAYPAL_USERNAME'),
'password' => env('PAYPAL_PASSWORD'),
'signature' => env('PAYPAL_SIGNATURE'),
'test_mode' => env('PAYPAL_TEST_MODE'),
],
],
// sagepay gateway
'sagepay' => [
'driver' => 'SagePay\Direct',
'options' => [
'vendor' => env('SAGEPAY_VENDOR_NAME'),
'username' => env('SAGEPAY_USERNAME'),
'password' => env('SAGEPAY_PASSWORD'),
'test_mode' => env('SAGEPAY_TEST_MODE'),
],
],
],
];