# File lib/active_merchant/billing/gateways/first_pay.rb, line 40 def purchase(money, creditcard, options = {}) post = FirstPayPostData.new add_invoice(post, options) add_creditcard(post, creditcard) add_address(post, options) add_customer_data(post, options) commit('sale', money, post) end