lib/active_merchant/billing/integrations/dibs_flexwin/common.rb
# This is used to generate the md5 sent to DIBS
This is used to generate the md5 sent to DIBS
This is used to generate the md5 sent to DIBS
def md5_checksum( key1, key2, merchant, orderid, currency, amount )
            Digest::MD5.hexdigest( key2 +
              Digest::MD5.hexdigest( key1 +
                "merchant=#{merchant}&orderid=#{orderid}&currency=#{currency}&amount=#{amount}"
              )
            )
          end
def md5_checksum ( key1 , key2 , merchant , orderid , currency , amount ) Digest :: MD5 . hexdigest ( key2 + Digest :: MD5 . hexdigest ( key1 + "merchant=#{merchant}&orderid=#{orderid}&currency=#{currency}&amount=#{amount}" ) ) end
This is used to generate the md5 sent to DIBS
This is used to generate the md5 sent to DIBS
key1
<not_specific>
key2
<not_specific>
merchant
<not_specific>
orderid
<not_specific>
currency
<not_specific>
amount
<not_specific>