lib/active_merchant/billing/integrations/quickpay/notification.rb in activemerchant-1.12.1 vs lib/active_merchant/billing/integrations/quickpay/notification.rb in activemerchant-1.13.0
- old
+ new
@@ -53,10 +53,10 @@
:chstat, :chstatmsg, :qpstat, :qpstatmsg, :merchant, :merchantemail,
:transaction, :cardtype, :cardnumber, :testmode
]
def generate_md5string
- MD5_CHECK_FIELDS.map { |key| params[key.to_s] } * "" + @options[:md5secret]
+ MD5_CHECK_FIELDS.map { |key| params[key.to_s] } * "" + @options[:credential2]
end
def generate_md5check
Digest::MD5.hexdigest(generate_md5string)
end