I only have a delevoper account that is not tied to any merchant account. I am a contracted 3rd party without direct access to the clients authorize.net account. I am using the php AIM tools and am trying to set up the priorauthandcapture..
Can I test this funtionality in the 'sandbox'? I have a non-zero trans_id from the auth but when sending it via priorauthandcapture I get an error that the transaction id is not found. If I try sending something to the 'live' servers ouside of the sandbox environment I get an error that the account is not active or there is an invalid merchant id.
From what I have read it seems that you need to make sure that test mode is off in the account settings(it is off) and you are not sending x_test_request = false (i am not). Do you have to have the merchant account set up and test the priorauthandcapture on the live servers and not sandbox?
The auth_capture does work.. I am transitioning that to priorauthandcapture
I have tried many variations of this code including hardcoding the transaction id (2175284037) in the method call.
$transaction = new AuthorizeNetAIM;
'trans_id' => $order->transaction_ref
$response = $transaction->priorAuthCapture();
the response appears that I am sending a zero for the trans_id... even hardcoded.
[error] => 1
[response_code] => 3
[response_subcode] => 2
[response_reason_code] => 16
[response_reason_text] => The transaction cannot be found.
[avs_response] => P
[transaction_id] => 0
[amount] => 0.00
[method] => CC
[transaction_type] => prior_auth_capture
response from the auth_only with some personal info xxx'ed out..
[approved] => 1
[response_code] => 1
[response_subcode] => 1
[response_reason_code] => 1
[response_reason_text] => This transaction has been approved.
[authorization_code] => JSV2OM
[avs_response] => Y
[transaction_id] => 2175284037
[amount] => 26.47
[method] => CC
[transaction_type] => auth_only
[first_name] => xx
[city] => xxx
[state] => xxx
[zip_code] => xxx
[country] => US
[email_address] => xxx
[md5_hash] => 634B068DF91419C46B93D27DBCA5030B
[cavv_response] => 2
[account_number] => XXXX1111
[card_type] => Visa
[response] => |1|,|1|,|1|,|This transaction has been approved]
sorry for the formatting..
So i should be able to test the PRIOR_AUTH_AND_CAPTURE in the sandbox environmet?
When I try to look up the priorauthandcapture transaction id (2175284037) on test.authorize.net it is not found. Any approved transactions of AUTH_ONLY are not in the test account backend.
So do i need to have a merchant account connected and test 'live' for a PRIOR_AUTH_AND_CAPTURE transaction?
I figured it out.. It was a careless mistake on my end. When I was creating test transactions I was mixing the auth only with some auth and capture and was tripping over my own feet.
Mods please feel free to remove the thread as it offers nothing..
Thanks for the time and suggestions RaynorC1emen7.