Hey, I’m testing out Authorize.net on checkout. When I click the ‘Place Order’ button I get this error response:
{"error":true,"success":false,"error_messages":["Unable to read response, or response is empty"]}
I’ve tried it with testing on and off, guest account and logged-in account.
I’m guessing a number of things could be causing this. Does anyone have any guidance on how I can go about troubleshooting this or display some additional info on what’s going on?
@Danebrood: sounds like no response from authorize.net ...
Do you have any records in `paygate_authorizenet_debug` table? If yes, check the last records for error description in response.
@Brady: in Mage_Checkout_Model_Type_Onepage could you replace:
$res['error_messages'] = $order->getErrors();
with
if (isset($order)) { $res['error_messages'] = $order->getErrors(); }
And paste here the exception you get after that.
Thanks.
I’m able to perform test transactions using the standard ‘secure.authorize.net’ URL. The ‘test.authorize.net’ URL, is this a developers test account that Authnet offers?
I’d love to have an authnet account that isn’t tied to a bank, but just for testing code.
I have authorize.net as the only active payment method in Magento.
-------------------------------------------------------------------------------------
>System > Configuration > Payment Methods > Authorize.net >
Enabled: Yes
Title: Credit Card
API Login ID: placed my api login here
Transaction key: I generated a key from authorize and placed that here
New order status: Pending
Test mode: No (my authorize.net account is also NOT in test mode)
-------------------------------------------------------------------------------------
I am still getting: Invalid HTTP response version
I have searched the forums, both magento community, google, and authorize.net website.
I can’t find anything on this error message.
Although customer gets a Customer Receipt/Purchase Confirmation email if enabled in your Authorize.net account. When Test Mode OFF in Authorize.net account, the transaction appears in the “List of Unsettled Transactions” as Authorized/Pending Capture. But no orders are recorded in Magento admin.
Anybody here get Magento to successfully process orders with Authorize.net credit card payments yet?