A custom PHP shopping cart stopped processing transactions when the Sept 21 update went into effect, so I am trying to figure out a solution. I downloaded the PHP SDK from github today and installed it on server. I confirmed that the domain has an SHA-2 enabled SSL cert using https://shaaaaaaaaaaaaa.com/
I am testing the connection using a piece of code adapted from an authorize.net sample...
<?php define("AUTHORIZENET_API_LOGIN_ID", "xxxxxxxxx"); define("AUTHORIZENET_TRANSACTION_KEY", "xxxxxxxxxxx"); define("AUTHORIZENET_SANDBOX", true); require('autoload.php'); $sale = new AuthorizeNetAIM; $sale->amount = "5.99"; $sale->card_num = '6011000000000012'; $sale->exp_date = '04/16'; $response = $sale->authorizeAndCapture(); if ($response->approved) { $transaction_id = $response->transaction_id; } echo '<pre>'; print_r($response); echo '</pre>'; ?>
When I run the script with my sandbox credentials and the sandbox set to true, it works fine. When I switch to my regular api login, put the account into test mode, and set sandbox to false, I get this error:
Response Code: 3
Response Subcode: 1
Response Reason Code: 103
Response Reason Text: (TESTMODE) This transaction cannot be accepted.
It sure seems like the sandbox and the production server have some different requirements. Any suggestions?
Solved! Go to Solution.
โ09-22-2015 04:30 PM
http://developer.authorize.net/tools/responsereasoncode/
Response Reason Code: 103
Response Reason Text: A valid fingerprint, or transaction key is required for this transaction.
Integration Team Suggestions: This error is generated when your account is in "Password-Required Mode" and you are not sending a valid password, transaction key or hash fingerprint with your transaction request, which is a recommended security measure.
Please consider the following details when encountering this error:
โ09-22-2015 04:38 PM
http://developer.authorize.net/tools/responsereasoncode/
Response Reason Code: 103
Response Reason Text: A valid fingerprint, or transaction key is required for this transaction.
Integration Team Suggestions: This error is generated when your account is in "Password-Required Mode" and you are not sending a valid password, transaction key or hash fingerprint with your transaction request, which is a recommended security measure.
Please consider the following details when encountering this error:
โ09-22-2015 04:38 PM
I discovered client had generated a new transaction key without telling me, so this was not related to the Sept 21 update. Sorry.
โ09-22-2015 06:14 PM