Sha256: db2d0513882e1dbb9b4baf28dd44ebe851fecd75f0a341a7098ced3a1afba7ff
Contents?: true
Size: 684 Bytes
Versions: 8
Compression:
Stored size: 684 Bytes
Contents
module ActiveMerchant module Billing module Integrations module PayuInPaisa class Notification < PayuIn::Notification def item_id params['udf2'] end def checksum_ok? fields = user_defined.reverse.push( customer_email, customer_first_name, product_info, gross, invoice, :reverse => true ) fields.unshift( transaction_status ) unless PayuIn.checksum(@merchant_id, @secret_key, *fields ) == checksum @message = 'Return checksum not matching the data provided' return false end true end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems