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
Solved! Go to Solution.
โ05-19-2012 08:39 AM
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...
โ05-21-2012 01:06 PM
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...
โ05-21-2012 01:06 PM
Thank you SO much! This is exactly what I needed. :)
Have a wonderful day!
-Rich
โ05-21-2012 03:35 PM