;## This is an example configuration file for the SDK. ;## The sample scripts configure the SDK dynamically ;## but you can choose to go for file based configuration ;## in simpler apps (See bootstrap.php for more). [Account] acct1.ClientId = AYSq3RDGsmBLJE-otTkBtM-jBRd1TCQwFf9RGfwddNXWz0uFU9ztymylOhRS acct1.ClientSecret = EGnHDxD_qRPdaLdZz8iCr8N7_MzF-YHPTkjs6NKYQvQSBngp4PTTVWkPZRbL ;Connection Information [Http] http.ConnectionTimeOut = 30 http.Retry = 1 ;http.Proxy=http://[username:password]@hostname[:port] ;Service Configuration [Service] ; can be set to sandbox / live mode = sandbox ;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 FINE, INFO, WARN or ERROR ; Logging is most verbose in the 'FINE' level and ; decreases as you proceed towards ERROR log.LogLevel=FINE ;Validation Configuration [validation] ; If validation is set to strict, the PPModel 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=log ;Caching Configuration [cache] ; If Cache is enabled, it stores the access token retrieved from ClientId and Secret from the ; server into a file provided in constant $CACHE_PATH in PayPal/Cache/AuthorizationCache. ; If the value is set to 'true', it would try to create a file and store the information. ; For any other value, it would disable it ; Please note, this is a very good performance improvement, and we would encourage you to ; set this up properly to reduce the number of calls, to almost 50% on normal use cases ; PLEASE NOTE: You may need to provide proper write permissions to /var directory under PayPal-PHP-SDK on ; your hosting server cache.enabled=true