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

Methods

Constants

OPERATING_MODE = 'DOM'
COUNTRY = 'IND'
CURRENCY = 'INR'
OTHER_DETAILS = 'NULL'
EDIT_ALLOWED = 'Y'
PHONE_CODES = { 'IN' => '91', 'US' => '01', 'CA' => '01'
ENCODED_PARAMS = [ :account, :operating_mode, :country, :currency, :amount, :order, :other_details, :return_url, :failure_url, :collaborator ]

Public Class methods

Public Instance methods

Need to format the amount to have 2 decimal places

[Validate]