Method: ActiveMerchant::Billing::BeanstreamCore#capture
- Defined in:
- lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb
#capture(money, authorization, options = {}) ⇒ Object
157 158 159 160 161 162 163 164 165 |
# File 'lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb', line 157 def capture(money, , = {}) reference, = split_auth() post = {} add_amount(post, money) add_reference(post, reference) add_transaction_type(post, :capture) add_recurring_payment(post, ) commit(post) end |