lib/active_merchant/billing/integrations/dibs_flexwin/common.rb
# This is used to check the md5 received from DIBS
This is used to check the md5 received from DIBS
This is used to check the md5 received from DIBS
def md5_authkey( key1, key2, transact,currency, amount = nil)
            amount = "0000" if amount.nil?
            Digest::MD5.hexdigest( key2 +
              Digest::MD5.hexdigest( key1 + "transact=#{transact}&amount=#{amount}&currency=#{currency}")
            )
          end
def md5_authkey ( key1 , key2 , transact , currency , amount = nil ) amount = "0000" if amount . nil? Digest :: MD5 . hexdigest ( key2 + Digest :: MD5 . hexdigest ( key1 + "transact=#{transact}&amount=#{amount}&currency=#{currency}" ) ) end
This is used to check the md5 received from DIBS
This is used to check the md5 received from DIBS
key1
<not_specific>
key2
<not_specific>
transact
<not_specific>
currency
<not_specific>
amount
<not_specific>