cancel
Showing results for 
Search instead for 
Did you mean: 

Where to get response code?

I'm trying to get the AIM functionality working on my Xcart site. When I submit an order all I get is this error message:

 

Order processing error

Order declined.
Review your data or contact the store administrator.

Reason: Error: (Reason Code / Sub )
 
As you can see, there is no Reason Code. 
 
Customer Service is asking for a response code that looks like this but they dont know where to get it and either do I:
1,1,1,This transaction has been approved.,000000,P,0,0,,1.00,CC,auth_capture,,,,,,,,,,,,,,,,,,,,,,,,,,
 
Here's what my logs show but customer service said this isnt what they need:
76.102.102.176 - - [13/Jul/2016:23:33:48 -0500] "POST /admin/cc_processing.php?cc_processor=cc_authorizenet.php HTTP/1.1" 302 318 "https://(domain).com/admin/cc_processing.php?mode=update&cc_processor=cc_authorizenet.php" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36"
76.102.102.176 - - [13/Jul/2016:23:33:48 -0500] "GET /admin/cc_processing.php?mode=update&cc_processor=cc_authorizenet.php&keep_https=yes HTTP/1.1" 200 20604 "https://(domain)/admin/cc_processing.php?mode=update&cc_processor=cc_authorizenet.php" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36"
76.102.102.176 - - [13/Jul/2016:23:33:52 -0500] "GET /cart.php?mode=checkout HTTP/1.1" 302 230 "https://(domain)/error_message.php?error=error_ccprocessor_error&bill_message=Error%3A++%28Reason+Co..." "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36"
76.102.102.176 - - [13/Jul/2016:23:33:52 -0500] "GET /cart.php?paymentid=19&mode=checkout HTTP/1.1" 200 27979 "https://(domain)/error_message.php?error=error_ccprocessor_error&bill_message=Error%3A++%28Reason+Co..." "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36"
 
Does anyone know where I can find the response in this format so that I can provide it to customer service:
1,1,1,This transaction has been approved.,000000,P,0,0,,1.00,CC,auth_capture,,,,,,,,,,,,,,,,,,,,,,,,,,
dougmcc1
Member
1 REPLY 1

Hello Doug,

 

Looking at the response, the clue is the transaction id field which is all zeros 

 

1,1,1,This transaction has been approved.,000000,...

 

This indicates that your gateway is in test mode, or your request set test mode within the transaction.  When in test mode, the gateway only checks credentials and returns success or decline, it does not actually attempt a transaction and nothing is stored at the gateway.

 

If you're testing in the sandbox, you should always run in live mode.

 

Richard

RichardH
Administrator Administrator
Administrator