diff --git a/src/angelleye/PayPal/PayPal.php b/src/angelleye/PayPal/PayPal.php index 5f0209f0..973a87d7 100755 --- a/src/angelleye/PayPal/PayPal.php +++ b/src/angelleye/PayPal/PayPal.php @@ -75,7 +75,7 @@ function __construct($DataArray) $this->APIVersion = isset($DataArray['APIVersion']) ? $DataArray['APIVersion'] : '204.0'; $this->APIMode = isset($DataArray['APIMode']) ? $DataArray['APIMode'] : 'Signature'; - $this->APIButtonSource = 'AngellEYE_PHPClass'; + $this->APIButtonSource = ''; $this->PathToCertKeyPEM = '/path/to/cert/pem.txt'; $this->SSL = isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == '443' ? true : false; $this->APISubject = isset($DataArray['APISubject']) ? $DataArray['APISubject'] : ''; diff --git a/src/angelleye/PayPal/RestClass.php b/src/angelleye/PayPal/RestClass.php index dfba6f13..1536b531 100644 --- a/src/angelleye/PayPal/RestClass.php +++ b/src/angelleye/PayPal/RestClass.php @@ -63,7 +63,7 @@ public function __construct($configArray){ $this->_api_context = new \PayPal\Rest\ApiContext( new \PayPal\Auth\OAuthTokenCredential($configArray['ClientID'], $configArray['ClientSecret']) ); - $this->set_partner_attribution_id('AngellEYE_PHPClass'); + //$this->set_partner_attribution_id(''); $path = ''; if (isset($configArray['LogPath'])){ $path = $configArray['LogPath'].'/PayPal.log'; @@ -100,8 +100,7 @@ public function get_api_context(){ } /** - * By default the BN code/value is AngellEYE_PHPClass but you can change it - * with the set_partner_attribution_id function by passing the source value to it. + * PayPal Partner Code * * @access public * @param string $source