Link to home
Start Free TrialLog in
Avatar of remedy_rider
remedy_riderFlag for United States of America

asked on

Magento declined authorize.net transaction takes me to cart?

Hello, I just launched a clients site and it's using magento and authorize.net to collect cc info. Normal orders work fine, but if i test using a bad credit card it just takes me back to the cart, no error or message? The transaction comes over at authorize.net showing a declined card, but nothing comes into magento at all.

I'm using version Magento ver. 1.3.2.4  I want to upgrade but our current templates will not work with the new version and I have no time to redo all the templates for the the version.
Avatar of miked2004
miked2004
Flag of United States of America image

1. IS this publicly accessable so I can try it?
2.Did it ever work correctly?
I used Auth.net quite some time back...so my knowledge could be outdated (my apologies in advance). Did you ensure that you are not running it under Test mode? Also, when you use the bad card, what is the response code that you get back from Auth.net?

Regards
Avatar of remedy_rider

ASKER

Sorry for the delay, i was out of work sick yesterday. We do have this live at http://boyesen.com/quickshot-2-mx
You can do a look up on the right and add to cart. If you put "testorder" in as your first name i can make sure the transaction is cancelled. We checked and it's not running in test mode. I have the client sending me the tranactions so i know what the error codes are.
This is because it is getting a 500 server error. you need to trace the code and see what is throwing the error.
I have the error logging enabled and there is nothing in the reports? I don't seem to get an error, it just goes back to the cart with no error? Any ideas on how i can trace this?
enable fire bug,  I did it twice and got the error both times. It may not log the error due to the ajax on the page.
The error is thrown in the save order action in the /app/code/Mage/Checkout/controllers/OnepageController.php
Your site is also not using https on the checkout page, this is a big no-no. check your config settings!
Thanks Mike, I turned on the ssl and of course something is not jiving. We transferred it from their old host, i set up all the information within my new hosts control panel. arrrrgh, these always seem to be a pain.

The client just emailed me this ". It was settings in the authoize.net admin that needed to be changed for foriegn cc purchases." but you said you were getting an error when you tried correct?
Yes, when trying a test card number . Visa 4111111111111111
I am not getting any errors still and i've tried everything. I posted this on magento's forums as well with no answer. Declines still do not get routed anywhere. :(
1. Do you know how to use firebug in FireFox?
2. Have you been able to seen the Server Error?
I have firebug enabled and i'm not getting errors? I must not know how to use it correctly. It doesn't appear to throw any errors, it just redirects back to the cart.
If you watch the ajax requests you will see the 500 error
ASKER CERTIFIED SOLUTION
Avatar of miked2004
miked2004
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Miked2004 gave me tips to debug, but i'm still at a stand still. I appreciate the help, but i'll have to find someone to debug this. I can't seem to figure it out. :(