b0VIM 7.3GsP|,Okubakuba~kuba/work/przelewy24_payment/lib/przelewy24_payment.rbutf-8 3210#"! UtpAadt AE?>"  zyZDC) \ <  q B : 4 3  M l - eeend end rend end returend end return calc_md5 (crc_key.nil? ? "" :end end return calc_md5 (crc_key.nil? ? "" : crend end return calc_meeeeeeeeeeend end return calc_md5 calc_md5 = Digest::MD5.hexdigest(session_id.to_s + "|" + (seller_id).to_s + "|" + (p24_price(value)).to_s + "|" + (crc_key.nil? ? "" : crc_key.to_s)) def self.calculate_crc(value,session_id, crc_key=nil) end SecureRandom.base64(15).tr('+/=lIO0', 'aqrsxyz') def self.friendly_token end price.present? ? (price.to_f.round(2) * 100) : 0 def self.p24_price(price) end end 'https://secure.przelewy24.pl/index.php' elsif @mode == :production 'https://sandbox.przelewy24.pl/transakcja.php' if @@mode == :development def self.transaction_url end end 'https://secure.przelewy24.pl/index.php' elsif @@mode == :production 'https://sandbox.przelewy24.pl/index.php' if @@mode == :development def self.post_url end params def self.complete_url(params) end yield self def self.setup @@crc_key = '' mattr_accessor :crc_key @@comeback_url = '' mattr_accessor :comeback_url @@error_url = '' mattr_accessor :error_url @@mode = :development mattr_accessor :mode @@language = 'pl' mattr_accessor :language @@seller_id = '17329' mattr_accessor :seller_id end autoload :Przelewy24Payment, 'controllers/przelewy24_payment' module Controllersmodule Przelewy24Paymentrequire "przelewy24_payment/engine"require "przelewy24_payment/version"