Sha256: 03c43531dcdf68da5fd28c60b12eb02c8dbce207010eebb103ba04a77dfa36d4
Contents?: true
Size: 765 Bytes
Versions: 30
Compression:
Stored size: 765 Bytes
Contents
module ActiveMerchant #:nodoc: module Billing #:nodoc: module Integrations #:nodoc: module Paxum class Notification < ActiveMerchant::Billing::Integrations::Notification include Common def initialize(post, options = {}) @raw_post = post.dup post.slice!(0) super end def self.recognizes?(params) (params.has_key?('transaction_item_id') && params.has_key?('transaction_amount')) end def security_key params["key"] end def secret @options[:secret] end def acknowledge (security_key == generate_signature) end end end end end end
Version data entries
30 entries across 30 versions & 4 rubygems