# File lib/active_merchant/billing/gateways/pay_secure.rb, line 31 def purchase(money, credit_card, options = {}) requires!(options, :order_id) post = {} add_amount(post, money) add_invoice(post, options) add_credit_card(post, credit_card) commit(:purchase, money, post) end