Index: includes/handlers/pay_method_gateway_paypal.inc
===================================================================
--- includes/handlers/pay_method_gateway_paypal.inc	(revision 9)
+++ includes/handlers/pay_method_gateway_paypal.inc	(working copy)
@@ -83,8 +83,9 @@
       'transaction_total' => $r['AMT'],
     );
     if ($response_code <> 'Success') {
-      watchdog('payment', "Error processing payment: PayPal gateway returned '@err'", array('@err' => $this->activity->data['response_string']));
-      drupal_set_message("Error processing payment: PayPal gateway returned'". $this->activity->data['response_string']. "'");
+      $error_message = t("Error processing payment: PayPal gateway returned '@err: @err_code - @err_message'", array('@err' => $r['ACK'], '@err_code' => $r['L_ERRORCODE0'], '@err_message' => $r['L_LONGMESSAGE0']));
+      watchdog('payment', $error_message);
+      drupal_set_message($error_message);
     }
 
     return ($response_code == 'Success');
