php - Transaction ID for Authnet CIM Transaction -


i have successful cim transactions using profiletransauthcapture, cannot find in docs if returns transaction id. printed out response, did not see one. in direct response there long string random strings in, i'm not sure if 1 of it. know?

it's seventh field in string. following:

$response = explode(',', '1,1,1,this transaction has been approved.,s7gs9x,y,2195560752,inv000001,description of transaction,10.95,cc,auth_capture,876571,john,smith,,123 main street,townsville,nj,12345,,800-555-1234,,user@example.com,john,smith,,123 main street,townsville,nj,12345,,1.00,,2.00,false,ponum000001,209d159ca9db7377279d33a6a9e9678e,p,2,,,,,,,,,,,xxxx1111,visa,,,,,,,,,,,,,,,,,18272830,100.0.0.1'); $transactionid = $response[6]; echo $transactionid; 

see in action


Comments