Changeset 2896

Show
Ignore:
Timestamp:
06/25/2008 03:01:21 AM (4 months ago)
Author:
armen
Message:

Removed debug line.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/drivers/Payment/Paypal.php

    r2820 r2896  
    349349                else // Something went terribly wrong... 
    350350                { 
    351                         throw new Kohana_User_Exception('SetExpressCheckout ERROR', KOHANA::debug($response_array)); 
     351                        throw new Kohana_User_Exception('SetExpressCheckout ERROR', Kohana::debug($response_array)); 
    352352 
    353353                        Log::add('error', Kohana::debug('SetExpressCheckout response:'.$response_array)); 
     
    375375                else // Something went terribly wrong... 
    376376                { 
    377                         throw new Kohana_User_Exception('GetExpressCheckout ERROR', KOHANA::debug($this->get_express_checkout_response)); 
     377                        throw new Kohana_User_Exception('GetExpressCheckout ERROR', Kohana::debug($this->get_express_checkout_response)); 
    378378 
    379379                        Log::add('error', Kohana::debug('GetExpressCheckout response:'.$response)); 
     
    397397                if (strtoupper($this->nvp_response_array['ACK']) != 'SUCCESS') 
    398398                { 
    399                         throw new Kohana_User_Exception('DoExpressCheckoutPayment ERROR', KOHANA::debug($this->nvp_response_array)); 
     399                        throw new Kohana_User_Exception('DoExpressCheckoutPayment ERROR', Kohana::debug($this->nvp_response_array)); 
    400400 
    401401                        Log::add('error', Kohana::debug('GetExpressCheckout response:'.$response)); 
     
    416416 
    417417                parse_str(urldecode($postdata),$nvpstr); 
    418                 echo KOHANA::debug($nvpstr); 
    419418 
    420419                Log::add('debug', 'Connecting to '.$this->api_connection_fields['ENDPOINT']); 
     
    433432                if (curl_errno($ch)) 
    434433                { 
    435                         throw new Kohana_User_Exception('CURL ERROR', KOHANA::debug(array('curl_error_no' => curl_errno($ch), 'curl_error_msg' => curl_error($ch)))); 
     434                        throw new Kohana_User_Exception('CURL ERROR', Kohana::debug(array('curl_error_no' => curl_errno($ch), 'curl_error_msg' => curl_error($ch)))); 
    436435 
    437436                        // Moving to error page to display curl errors