opencart/opencart — pull request #642 by qphoria (2013-04-23 19:47:28+00:00)
Title: Fix for Authorize.net AIM

The core version was not alerting the admin of successfully paid orders if the md5 hash failed. This is because md5 isn't a required field, but the code was assuming it was. So now it will always update to "config_order_status_id" if paid successfully, but will only use the "authorizenet_aim_order_status_id" when the md5 hash passes. This then allows the Admins to see they have an order in a Pending state if the md5 failed.

I also made it so that if md5 hash is not being used, it will always update it to the final status.

This will resolve all the people complaining about missing orders for Authorize.net