Method: ActiveMerchant::Billing::MerchantWareVersionFourGateway#capture
- Defined in:
- lib/active_merchant/billing/gateways/merchant_ware_version_four.rb
#capture(money, authorization, options = {}) ⇒ Object
Capture authorized funds from a credit card.
Parameters
-
money
- The amount to be captured as anInteger value in cents. -
authorization
- The authorization string returned from the initial authorization.
74 75 76 77 |
# File 'lib/active_merchant/billing/gateways/merchant_ware_version_four.rb', line 74 def capture(money, , = {}) request = build_capture_request(:capture, money, , ) commit(:capture, request) end |