Method: ActiveMerchant::Billing::CommercegateGateway#purchase
- Defined in:
- lib/active_merchant/billing/gateways/commercegate.rb
#purchase(money, creditcard, options = {}) ⇒ Object
38 39 40 41 42 43 |
# File 'lib/active_merchant/billing/gateways/commercegate.rb', line 38 def purchase(money, creditcard, = {}) post = {} add_creditcard(post, creditcard) (post, money, ) commit('SALE', post) end |