Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Commit

Permalink
adding the capture method (environment) to data cash
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGeukers committed Dec 17, 2013
1 parent e5e3fe0 commit 487f95f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/active_merchant/billing/gateways/data_cash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 487f95f

Please sign in to comment.