Method: ActiveMerchant::Billing::UsaEpayAdvancedGateway#enable_customer

Defined in:
lib/active_merchant/billing/gateways/usa_epay_advanced.rb

#enable_customer(options = {}) ⇒ Object

Enable a customer for recurring billing.

Note: Customer does not need to have all recurring parameters to succeed.

Required

  • :customer_number



447
448
449
450
451
452
# File 'lib/active_merchant/billing/gateways/usa_epay_advanced.rb', line 447

def enable_customer(options = {})
  requires! options, :customer_number

  request = build_request(__method__, options)
  commit(__method__, request)
end