Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Release Branch 11.04, Release Branch 12.04, Release Branch 13.07, Trunk
-
None
Description
System is creating the order in CREATED status before processing the payment. But if payment processing encounters a run time exception then system throws the error and does not change the order status to REJECTED. Because Authorize.net payment services are not handling these exceptions correctly.
Ex: If authorize.net payment gateway call get interrupt then method processCard of AIMPaymentServices.java is returning the result map without the 'authResult' kay.
And subsequent method (processAuthTransResult) is trying to access this and thus service is throwing NullPointerException.