Methods

Class/Module Index [+]

Quicksearch

ActiveMerchant::Billing::SecurePayTechGateway

Public Class Methods

new(options = {}) click to toggle source
# File lib/active_merchant/billing/gateways/secure_pay_tech.rb, line 28
def initialize(options = {})
  requires!(options, :login, :password)
  @options = options
  super
end

Public Instance Methods

purchase(money, creditcard, options = {}) click to toggle source
# File lib/active_merchant/billing/gateways/secure_pay_tech.rb, line 34
def purchase(money, creditcard, options = {})
  post = SecurePayTechPostData.new

  add_invoice(post, money, options)
  add_creditcard(post, creditcard)        
       
  commit(:purchase, post)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.