Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Commit

Permalink
- Fixing Logging Mechanism
Browse files Browse the repository at this point in the history
- Updating User Agent
  • Loading branch information
japatel committed Nov 10, 2014
1 parent c3d3a78 commit 8c6d2cd
Show file tree
Hide file tree
Showing 4 changed files with 478 additions and 441 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ build
# Composer
vendor
composer.lock

.idea
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ class PayPalAPIInterfaceServiceService extends PPBaseService {
// Service Name
private static $SERVICE_NAME = "PayPalAPIInterfaceService";

// SDK Name
private static $SDK_NAME = "sdkname";
// SDK Name
private static $SDK_NAME = "merchant-sdk-php";

// SDK Version
private static $SDK_VERSION = "sdkversion";
private static $SDK_VERSION = "2.11.118";


/**
Expand Down
5 changes: 4 additions & 1 deletion samples/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ public static function getConfig()
$config = array(
// values: 'sandbox' for testing
// 'live' for production
"mode" => "sandbox"
"mode" => "sandbox",
'log.LogEnabled' => true,
'log.FileName' => '../PayPal.log',
'log.LogLevel' => 'FINE'

// These values are defaulted in SDK. If you want to override default values, uncomment it and add your value.
// "http.ConnectionTimeOut" => "5000",
Expand Down
Loading

0 comments on commit 8c6d2cd

Please sign in to comment.