You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2007/12/14 10:49:51 UTC
svn commit: r604140 -
/ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java
Author: jleroux
Date: Fri Dec 14 01:49:51 2007
New Revision: 604140
URL: http://svn.apache.org/viewvc?rev=604140&view=rev
Log:
Applied fix from trunk for revision: 603767
Modified:
ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java
Modified: ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java?rev=604140&r1=604139&r2=604140&view=diff
==============================================================================
--- ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java (original)
+++ ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/AIMPaymentServices.java Fri Dec 14 01:49:51 2007
@@ -700,11 +700,11 @@
results.put("captureResult", new Boolean(authResult.booleanValue()));
results.put("captureFlag",ar.getReasonCode());
results.put("captureMessage",ar.getReasonText());
+ results.put("captureRefNum", ar.getResponseField(AuthorizeResponse.TRANSACTION_ID));
if(authResult.booleanValue()) { //passed
results.put("authCode", ar.getResponseField(AuthorizeResponse.AUTHORIZATION_CODE));
results.put("authRefNum", ar.getResponseField(AuthorizeResponse.TRANSACTION_ID));
- results.put("captureRefNum", ar.getResponseField(AuthorizeResponse.TRANSACTION_ID));
results.put("cvCode", ar.getResponseField(AuthorizeResponse.CID_RESPONSE_CODE));
results.put("avsCode", ar.getResponseField(AuthorizeResponse.AVS_RESULT_CODE));
results.put("processAmount", new Double(ar.getResponseField(AuthorizeResponse.AMOUNT)));