class OffsitePayments::Integrations::PayFast::Helper
Public Class Methods
new(order, account, options = {})
click to toggle source
Calls superclass method
# File lib/offsite_payments/integrations/pay_fast.rb, line 99 def initialize(order, account, options = {}) super add_field('merchant_id', account) add_field('merchant_key', options.delete(:credential2)) add_field('m_payment_id', order) end
Public Instance Methods
form_fields()
click to toggle source
# File lib/offsite_payments/integrations/pay_fast.rb, line 106 def form_fields @fields end
params()
click to toggle source
# File lib/offsite_payments/integrations/pay_fast.rb, line 110 def params @fields end