Class: OffsitePayments::Integrations::PayuInPaisa::Helper

Inherits:
OffsitePayments::Integrations::PayuIn::Helper show all
Defined in:
lib/offsite_payments/integrations/payu_in_paisa.rb

Constant Summary

Constants inherited from OffsitePayments::Integrations::PayuIn::Helper

OffsitePayments::Integrations::PayuIn::Helper::CHECKSUM_FIELDS

Instance Attribute Summary

Attributes inherited from Helper

#fields

Instance Method Summary collapse

Methods inherited from OffsitePayments::Integrations::PayuIn::Helper

#form_fields, #generate_checksum, #sanitize_fields

Methods inherited from Helper

#add_field, #add_fields, #add_raw_html_field, #billing_address, #form_fields, #form_method, inherited, mapping, #raw_html_fields, #shipping_address, #test?

Methods included from MoneyCompatibility

#to_cents

Constructor Details

#initialize(order, account, options = {}) ⇒ Helper

Returns a new instance of Helper.



25
26
27
28
29
# File 'lib/offsite_payments/integrations/payu_in_paisa.rb', line 25

def initialize(order, , options = {})
  super
  self.service_provider = 'payu_paisa'
  self.user_defined = { :var2 => order }
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class OffsitePayments::Helper