Author: jleroux
Date: Mon Jan 21 05:07:42 2008
New Revision: 613872
URL:
http://svn.apache.org/viewvc?rev=613872&view=revLog:
A patch from Raj Saini "Payment gateway refundMessage and refundAltRefNum fields are not populated in PaymentGatewayResponse entity" (
https://issues.apache.org/jira/browse/OFBIZ-1587) - OFBIZ-1587
Commited in CTR mode (reviewed but not tested) as this patch makes sense and can't be harmful
Modified:
ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java
Modified: ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java?rev=613872&r1=613871&r2=613872&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java (original)
+++ ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java Mon Jan 21 05:07:42 2008
@@ -2241,6 +2241,8 @@
refundResCtx.put("payToPartyId", payToPartyId);
refundResCtx.put("payFromPartyId", payFromPartyId);
refundResCtx.put("refundRefNum", refundResponse.get("refundRefNum"));
+ refundResCtx.put("refundAltRefNum", refundResponse.get("refundAltRefNum"));
+ refundResCtx.put("refundMessage", refundResponse.get("refundMessage"));
refundResCtx.put("refundResult", refundResponse.get("refundResult"));
// The refund amount could be different from what we tell the payment gateway due to issues