-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathpaypal.php
55 lines (48 loc) · 1.24 KB
/
paypal.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
/**
* Rent & Ride
*
* PHP version 5
*
* @category PHP
* @package RENT&RIDE
* @subpackage Core
* @author Agriya <[email protected]>
* @copyright 2018 Agriya Infoway Private Ltd
* @license http://www.agriya.com/ Agriya Infoway Licence
* @link http://www.agriya.com
*/
return array(
// set your paypal credential
'client_id' => config('paypal.client_id'),
'secret' => config('paypal.secret'),
/**
* SDK configuration
*/
'settings' => array(
/**
* Available option 'sandbox' or 'live'
*/
'mode' => 'sandbox',
/**
* Specify the max request time in seconds
*/
'http.ConnectionTimeOut' => 30,
/**
* Whether want to log to a file
*/
'log.LogEnabled' => true,
/**
* Specify the file that want to write on
*/
'log.FileName' => storage_path() . '/logs/paypal.log',
/**
* Available option 'FINE', 'INFO', 'WARN' or 'ERROR'
*
* Logging is most verbose in the 'FINE' level and decreases as you
* proceed towards ERROR
*/
'log.LogLevel' => 'FINE',
'service.EndPoint' => 'https://api.sandbox.paypal.com',
),
);