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