From 487f95f39f0a009b03a311d8c511b738b1d3dbfc Mon Sep 17 00:00:00 2001 From: David Geukers Date: Fri, 13 Dec 2013 12:32:38 -0500 Subject: [PATCH] adding the capture method (environment) to data cash --- lib/active_merchant/billing/gateways/data_cash.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/active_merchant/billing/gateways/data_cash.rb b/lib/active_merchant/billing/gateways/data_cash.rb index 2c62302dd86..41bc89910b1 100644 --- a/lib/active_merchant/billing/gateways/data_cash.rb +++ b/lib/active_merchant/billing/gateways/data_cash.rb @@ -200,6 +200,7 @@ def build_void_or_capture_request(type, money, authorization, options) xml.tag! :TxnDetails do xml.tag! :merchantreference, format_reference_number(options[:order_id]) xml.tag! :amount, amount(money), :currency => options[:currency] || currency(money) + xml.tag! :capturemethod, 'ecomm' end end end