You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Cimballi (JIRA)" <ji...@apache.org> on 2009/09/28 01:35:16 UTC

[jira] Created: (OFBIZ-2973) Return error messages in "PaymentGatewayServices.authOrderPayments"

Return error messages in "PaymentGatewayServices.authOrderPayments"
-------------------------------------------------------------------

                 Key: OFBIZ-2973
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2973
             Project: OFBiz
          Issue Type: Improvement
          Components: accounting
    Affects Versions: Release Branch 9.04
         Environment: ofbiz-rel9.04-2009-09-25-v818777
            Reporter: Cimballi


I am testing the integration of OFBiz with Authorize.NET service and I noticed a problem in the  "PaymentGatewayServices.authOrderPayments" method.
I am calling this method inside another service method, and in my tests I provided an invalid credit card number.
In the logs, I can clearly see that the Authorize.NET service answer says that the credit card number is invalid, but in the result map of the "PaymentGatewayServices.authOrderPayments" method, there are no error messages, only the "processResult" message is setted to "FAILED".

So, it could be good to return the error message or the error code as the result of the call to the "PaymentGatewayServices.authOrderPayments" method to be able to use them by the calling service.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.