Method: ActiveMerchant::Billing::SallieMaeGateway#authorize
- Defined in:
- lib/active_merchant/billing/gateways/sallie_mae.rb
#authorize(money, creditcard, options = {}) ⇒ Object
28 29 30 31 32 33 34 35 36 |
# File 'lib/active_merchant/billing/gateways/sallie_mae.rb', line 28 def (money, creditcard, = {}) post = PostData.new add_invoice(post, ) add_creditcard(post, creditcard) add_address(post, creditcard, ) add_customer_data(post, ) commit(:authonly, money, post) end |