Class ActiveMerchant::Billing::Integrations::Directebanking::Helper
In: lib/active_merchant/billing/integrations/directebanking/helper.rb
Parent: ActiveMerchant::Billing::Integrations::Helper

Methods

Constants

SIGNATURE_FIELDS = [ :user_id, :project_id, :sender_holder, :sender_account_number, :sender_bank_code, :sender_country_id, :amount, :currency_id, :reason_1, :reason_2, :user_variable_0, :user_variable_1, :user_variable_2, :user_variable_3, :user_variable_4, :user_variable_5
SIGNATURE_IGNORE_AT_METHOD_CREATION_FIELDS = [ :user_id, :amount, :project_id, :currency_id, :user_variable_0, :user_variable_1, :user_variable_2, :user_variable_3

Public Class methods

All credentials are mandatory and need to be set

credential1: User ID credential2: Project ID credential3: Project Password (Algorithm: SH1) credential4: Notification Password (Algorithm: SH1)

Public Instance methods

Need to format the amount to have 2 decimal places

[Validate]