cancel
Showing results for 
Search instead for 
Did you mean: 

Transaction ID is always 4294967295

Hello!

 

Quick question for you all.  We're using CIM on our PHP app, and are experiencing some strange behavior.  On our production instance, $transactionResponse->transaction_id always returns 4294967295, or PHP_MAX.  However, on our dev instance, everything works fine - the actual transaction id is returned.  The only relevant thing that I can identify is different between these two deployments .is that one points to our live Authorize.net account, while the other points to our developer Authorize.net account.

 

We're using the code below:

 

 

		//Submit the transaction
	  $response = $request->createCustomerProfileTransaction("AuthCapture", $t);
		if(!$response->isOk())
			throw new Exception($response->getErrorMessage());

	  $transactionResponse = $response->getTransactionResponse();
		// d($transactionResponse);
		if(!$transactionResponse->approved)
			throw new Exception('Authorize.net error.  Transaction was not approved.');

	  $transactionId = $transactionResponse->transaction_id;

 

Any thoughts?  Thanks so much for your help! :)

-Rich

rinogo
Member
1 ACCEPTED SOLUTION

Accepted Solutions

Are you sure it $transactionResponse->transaction_id that having issue and not how you saving the data?

You might have the same issue as http://community.developer.authorize.net/t5/Integration-and-Testing/Testing-Prior-Authorization-Capt...

View solution in original post

RaynorC1emen7
Expert
2 REPLIES 2

Are you sure it $transactionResponse->transaction_id that having issue and not how you saving the data?

You might have the same issue as http://community.developer.authorize.net/t5/Integration-and-Testing/Testing-Prior-Authorization-Capt...

RaynorC1emen7
Expert

Thank you SO much!  This is exactly what I needed. :)

 

Have a wonderful day!

-Rich