Class: ActiveMerchant::Billing::Integrations::Ogone::Helper
- Inherits:
-
Helper
- Object
- Helper
- ActiveMerchant::Billing::Integrations::Ogone::Helper
- Defined in:
- lib/active_merchant_ogone/helper.rb
Instance Method Summary collapse
- #customer(mapping = {}) ⇒ Object
-
#form_fields ⇒ Object
return the fields.
Instance Method Details
#customer(mapping = {}) ⇒ Object
29 30 31 32 33 |
# File 'lib/active_merchant_ogone/helper.rb', line 29 def customer(mapping = {}) add_field('ownertelno', mapping[:phone]) add_field('EMAIL', mapping[:email]) add_field('CN', "#{mapping[:first_name]} #{mapping[:last_name]}") end |
#form_fields ⇒ Object
return the fields
36 37 38 39 |
# File 'lib/active_merchant_ogone/helper.rb', line 36 def form_fields add_field('SHASign', ) super end |