Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5617

Authorize.net payment services are not handling run time exceptions correctly

    XMLWordPrintableJSON

Details

    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.

      Attachments

        1. Ofbiz-5617.patch
          10 kB
          Ritu Raj Lakhera

        Activity

          People

            jleroux Jacques Le Roux
            rrlakhera Ritu Raj Lakhera
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: