Author: sichen
Date: Mon Jun 25 15:15:50 2007
New Revision: 550626
URL:
http://svn.apache.org/viewvc?view=rev&rev=550626Log:
Fix bug where PaymentGatewayResponse.currencyUomId is not being set for PGT_REFUND.
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?view=diff&rev=550626&r1=550625&r2=550626==============================================================================
--- ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java (original)
+++ ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java Mon Jun 25 15:15:50 2007
@@ -2244,6 +2244,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"));