Method: ActiveMerchant::Billing::SallieMaeGateway#purchase
- Defined in:
- lib/active_merchant/billing/gateways/sallie_mae.rb
#purchase(money, creditcard, options = {}) ⇒ Object
38 39 40 41 42 43 44 45 46 |
# File 'lib/active_merchant/billing/gateways/sallie_mae.rb', line 38 def purchase(money, creditcard, = {}) post = PostData.new add_invoice(post, ) add_creditcard(post, creditcard) add_address(post, creditcard, ) add_customer_data(post, ) commit(:sale, money, post) end |