Index: includes/handlers/pay_method_gateway_authorizenet.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/authorizenet/includes/handlers/pay_method_gateway_authorizenet.inc,v
retrieving revision 1.3
diff -u -r1.3 pay_method_gateway_authorizenet.inc
--- includes/handlers/pay_method_gateway_authorizenet.inc	30 Nov 2010 22:50:22 -0000	1.3
+++ includes/handlers/pay_method_gateway_authorizenet.inc	29 Dec 2010 03:25:24 -0000
@@ -60,7 +60,7 @@
 
     if ($response_code != 1) {
       watchdog('payment', "Error processing payment: Authorize.Net gateway returned '@err'", array('@err' => $this->activity->data['response_string']));
-      drupal_set_message("Error processing payment: Authorize.Net gateway returned'". $this->activity->data['response_string']. "'");
+      $this->error_message = t("Error processing payment. The payment gateway returned '@response'", array('@response' => $this->activity->data['response_string']));
     }
 
     return ($response_code == 1);
