b0VIM 7.3IrP*(2Vkubaprogrammer-ThinkCentre-M55~kuba/work/przelewy24_payment/lib/przelewy24_payment.rb 3210#"! Utp1ad 1|f*{zfJ c [ U T 8  n 1  end 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' class Przelewy24Paymentmodule Przelewy24Paymentrequire "przelewy24_payment/version"