Author: sichen
Date: Mon Jun 25 15:16:18 2007
New Revision: 550627
URL:
http://svn.apache.org/viewvc?view=rev&rev=550627Log:
Fix bug where PaymentGatewayResponse.currencyUomId is not being set for PGT_REFUND.
Modified:
ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java
Modified: ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java?view=diff&rev=550627&r1=550626&r2=550627==============================================================================
--- ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java (original)
+++ ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java Mon Jun 25 15:16:18 2007
@@ -2162,6 +2162,7 @@
// set the capture info
response.set("amount", context.get("refundAmount"));
+ response.set("currencyUomId", currencyUomId);
response.set("referenceNum", context.get("refundRefNum"));
response.set("altReference", context.get("refundAltRefNum"));
response.set("gatewayCode", context.get("refundCode"));