Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Member
Posts: 6
Registered: ‎05-19-2012
Accepted Solution

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


Accepted Solutions
Solution
Accepted by topic author rinogo
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Transaction ID is always 4294967295

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


All Replies
Solution
Accepted by topic author rinogo
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Transaction ID is always 4294967295

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...

Member
Posts: 6
Registered: ‎05-19-2012

Re: Transaction ID is always 4294967295

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

 

Have a wonderful day!

-Rich