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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-5617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ritu Raj Lakhera updated OFBIZ-5617:
------------------------------------

    Attachment: Ofbiz-5617.patch

Attaching the patch for trunk

> 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
>         Attachments: Ofbiz-5617.patch
>
>
> 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)