Sha256: 363417b7bcf737eeee91b6f08a66a5f404686c4f1862df24b68119994354cc7d
Contents?: true
Size: 1.1 KB
Versions: 4
Compression:
Stored size: 1.1 KB
Contents
module ActiveMerchant #:nodoc: module Billing #:nodoc: module Integrations #:nodoc: module EasyPay class Helper < ActiveMerchant::Billing::Integrations::Helper include Common def initialize(order, account, options = {}) @md5secret = options.delete(:secret) super end def form_fields @fields.merge(ActiveMerchant::Billing::Integrations::EasyPay.signature_parameter_name => generate_signature(:request)) end def params @fields end def secret @md5secret end mapping :account, 'EP_MerNo' mapping :amount, 'EP_Sum' mapping :order, 'EP_OrderNo' mapping :comment, 'EP_Comment' mapping :order_info, 'EP_OrderInfo' mapping :expires, 'EP_Expires' mapping :success_url, 'EP_Success_URL' mapping :cancel_url, 'EP_Cancel_URL' mapping :debug, 'EP_Debug' mapping :url_type, 'EP_URL_Type' mapping :encoding, 'EP_Encoding' end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems