Class: Gateway::Eway

Inherits:
Gateway show all
Defined in:
app/models/gateway/eway.rb

Constant Summary

Constants inherited from PaymentMethod

PaymentMethod::DISPLAY

Instance Method Summary collapse

Methods inherited from Gateway

current, #method_missing, #method_type, #options, #payment_profiles_supported?, #payment_source_class, #provider

Methods inherited from PaymentMethod

active?, available, current, #destroy, find_with_destroyed, #method_type, #payment_profiles_supported?, #payment_source_class, providers, register, #source_required?

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Gateway

Instance Method Details

#provider_classObject

Note: EWay supports purchase method only (no authorize method). Ensure Spree::Config is set to true



7
8
9
# File 'app/models/gateway/eway.rb', line 7

def provider_class
  ActiveMerchant::Billing::EwayGateway
end