You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Ritu Raj Lakhera (JIRA)" <ji...@apache.org> on 2014/04/14 11:48:14 UTC

[jira] [Created] (OFBIZ-5617) Authorize.net payment services are not handling run time exceptions correctly

Ritu Raj Lakhera created OFBIZ-5617:
---------------------------------------

             Summary: Authorize.net payment services are not handling  run time exceptions correctly
                 Key: OFBIZ-5617
                 URL: https://issues.apache.org/jira/browse/OFBIZ-5617
             Project: OFBiz
          Issue Type: Bug
          Components: order
    Affects Versions: Release Branch 11.04, SVN trunk, Release Branch 12.04, Release Branch 13.07
            Reporter: Ritu Raj Lakhera


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)