b0VIM 7.3lrP8 kubaprogrammer-ThinkCentre-M55~kuba/work/trabancik/lib/przelewy24_payment/lib/przelewy24_payment.rbutf-8 U3210#"! Utp3ad } 3rq_I od^]I- d F > 8 7  Q  } end end end eeeeeeend eend end end return calc_md5 (crc_key.nil? ? "" : crc_key.to_s)) (p24_price(value)).to_s + "|" + (SELLER_ID).to_s + "|" + calc_md5 = Digest::MD5.hexdigest(session_id.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 elsif MODE == :production 'https://sandbox.przelewy24.pl/transakcja.php' if MODE == :development def self.transaction_url end end elsif MODE == :production 'https://sandbox.przelewy24.pl/index.php' if MODE == :development def self.post_url end params def self.complete_url(params) COMPLETE_URL = 'http://localhost:3000/owner_advert/summary' COMEBACK_URL = 'http://localhost:3000/owner_advert/comeback' ERROR_URL = 'http://localhost:3000/owner_advert/comeback' MODE = :development LANGUAGE = 'pl' @@seller_id = '17329' mattr_accessor :seller_id class Przelewy24Paymentmodule Przelewy24Paymentrequire "przelewy24_payment/version"