Class ActiveMerchant::Billing::EwayManagedGateway
In: lib/active_merchant/billing/gateways/eway_managed.rb
Parent: Gateway

Methods

new   purchase   store   test?   update  

Classes and Modules

Class ActiveMerchant::Billing::EwayManagedGateway::EwayResponse

Constants

TEST_URL = 'https://www.eway.com.au/gateway/ManagedPaymentService/test/managedCreditCardPayment.asmx'
LIVE_URL = 'https://www.eway.com.au/gateway/ManagedPaymentService/managedCreditCardPayment.asmx'

Public Class methods

Public Instance methods

Process a payment in the given amount against the stored credit card given by billing_id

Parameters

  • money — The amount to be purchased as an Integer value in cents.
  • billing_id — The eWay provided card/customer token to charge (managedCustomerID)
  • options — A hash of optional parameters.

Options

  • :order_id — The order number, passed to eWay as the "Invoice Reference"
  • :invoice — The invoice number, passed to eWay as the "Invoice Reference" unless :order_id is also given
  • :description — A description of the payment, passed to eWay as the "Invoice Description"

add a new customer CC to your eway account and return unique ManagedCustomerID supports storing details required by eway see "add_creditcard" and "add_address"

TODO: eWay API also provides QueryCustomer TODO: eWay API also provides QueryPayment

[Validate]