Changeset 2896 for trunk/system/libraries/drivers/Payment/Paypal.php
- Timestamp:
- 06/25/2008 03:01:21 AM (5 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/drivers/Payment/Paypal.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/drivers/Payment/Paypal.php
r2820 r2896 349 349 else // Something went terribly wrong... 350 350 { 351 throw new Kohana_User_Exception('SetExpressCheckout ERROR', K OHANA::debug($response_array));351 throw new Kohana_User_Exception('SetExpressCheckout ERROR', Kohana::debug($response_array)); 352 352 353 353 Log::add('error', Kohana::debug('SetExpressCheckout response:'.$response_array)); … … 375 375 else // Something went terribly wrong... 376 376 { 377 throw new Kohana_User_Exception('GetExpressCheckout ERROR', K OHANA::debug($this->get_express_checkout_response));377 throw new Kohana_User_Exception('GetExpressCheckout ERROR', Kohana::debug($this->get_express_checkout_response)); 378 378 379 379 Log::add('error', Kohana::debug('GetExpressCheckout response:'.$response)); … … 397 397 if (strtoupper($this->nvp_response_array['ACK']) != 'SUCCESS') 398 398 { 399 throw new Kohana_User_Exception('DoExpressCheckoutPayment ERROR', K OHANA::debug($this->nvp_response_array));399 throw new Kohana_User_Exception('DoExpressCheckoutPayment ERROR', Kohana::debug($this->nvp_response_array)); 400 400 401 401 Log::add('error', Kohana::debug('GetExpressCheckout response:'.$response)); … … 416 416 417 417 parse_str(urldecode($postdata),$nvpstr); 418 echo KOHANA::debug($nvpstr);419 418 420 419 Log::add('debug', 'Connecting to '.$this->api_connection_fields['ENDPOINT']); … … 433 432 if (curl_errno($ch)) 434 433 { 435 throw new Kohana_User_Exception('CURL ERROR', K OHANA::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)))); 436 435 437 436 // Moving to error page to display curl errors
