Jump to content
Larry Ullman's Book Forums

Authorize.Net: Receive Non-Zero Transaction Ids Using Test Account?


Recommended Posts

Hi Larry,

Is there a way to have Authorize.net send valid non-zero transaction ids when using test.authorize.net? I tried with the test mode on and off and each time it returned transaction_id=0. I’m getting an error ((TESTMODE) A valid referenced transaction ID is required.) when I try to ship an order in view_order.php. BTW, thanks for a fantastic book!

Link to comment
Share on other sites

Thanks for the nice words on the book. I'm glad you like it. As for this question, I'm trying to remember the answer. With test mode on, I was getting a transaction ID of 0:

$data['x_test_request'] = 'TRUE';

When I didn't use that, I believe I was getting valid transaction IDs again.

Link to comment
Share on other sites

 Share

×
×
  • Create New...