forked from LiveCarta/PayPal-PHP-SDK
WARN is not valid, the \Psr\Log\LogLevel constant that PayPalLogger checks is WARNING instead. FINE is dropped and DEBUG is added.
50 lines
1.5 KiB
INI
50 lines
1.5 KiB
INI
;Account credentials from developer portal
|
|
[Account]
|
|
acct1.ClientId = AYSq3RDGsmBLJE-otTkBtM-jBRd1TCQwFf9RGfwddNXWz0uFU9ztymylOhRS
|
|
acct1.ClientSecret = EGnHDxD_qRPdaLdZz8iCr8N7_MzF-YHPTkjs6NKYQvQSBngp4PTTVWkPZRbL
|
|
|
|
acct2.ClientId = TestClientId
|
|
acct2.ClientSecret = TestClientSecret
|
|
|
|
;Connection Information
|
|
[Http]
|
|
http.ConnectionTimeOut = 60
|
|
http.Retry = 1
|
|
;http.Proxy=http://[username:password]@hostname[:port][/path]
|
|
|
|
mode=sandbox
|
|
|
|
;Service Configuration
|
|
[Service]
|
|
service.EndPoint="https://api.sandbox.paypal.com"
|
|
; Uncomment this line for integrating with the live endpoint
|
|
; service.EndPoint="https://api.paypal.com"
|
|
|
|
|
|
;Logging Information
|
|
[Log]
|
|
log.LogEnabled=true
|
|
|
|
; When using a relative path, the log file is created
|
|
; relative to the .php file that is the entry point
|
|
; for this request. You can also provide an absolute
|
|
; path here
|
|
log.FileName=PayPal.log
|
|
|
|
; Logging level can be one of DEBUG, INFO, WARNING or ERROR
|
|
; Logging is most verbose in the DEBUG level and
|
|
; decreases as you proceed towards ERROR
|
|
; DEBUG level is not allowed in live environment.
|
|
; It will throw a warning, and reduce the level to INFO if set in live mode.
|
|
log.LogLevel=DEBUG
|
|
|
|
;Validation Configuration
|
|
[validation]
|
|
; If validation is set to strict, the PayPalModel would make sure that
|
|
; there are proper accessors (Getters and Setters) for each model
|
|
; objects. Accepted value is
|
|
; 'log' : logs the error message to logger only (default)
|
|
; 'strict' : throws a php notice message
|
|
; 'disable' : disable the validation
|
|
validation.level=strict
|