Method: ActiveMerchant::Billing::PlugnpayGateway#capture
- Defined in:
- lib/active_merchant/billing/gateways/plugnpay.rb
#capture(money, authorization, options = {}) ⇒ Object
134 135 136 137 138 139 140 141 142 143 |
# File 'lib/active_merchant/billing/gateways/plugnpay.rb', line 134 def capture(money, , = {}) post = PlugnpayPostData.new post[:orderID] = add_amount(post, money, ) add_customer_data(post, ) commit(:capture, post) end |