Method: ActiveMerchant::Billing::CardStreamGateway#capture
- Defined in:
- lib/active_merchant/billing/gateways/card_stream.rb
#capture(money, authorization, options = {}) ⇒ Object
163 164 165 166 167 168 169 170 |
# File 'lib/active_merchant/billing/gateways/card_stream.rb', line 163 def capture(money, , = {}) post = {} add_pair(post, :xref, ) add_pair(post, :amount, localized_amount(money, [:currency] || currency(money)), required: true) add_remote_address(post, ) commit('CAPTURE', post) end |