class OffsitePayments::Integrations::Pay2go::Helper
Public Class Methods
new(order, account, options = {})
click to toggle source
Calls superclass method
# File lib/offsite_payments/integrations/pay2go.rb, line 48 def initialize(order, account, options = {}) super add_field 'MerchantID', merchant_id end
Public Instance Methods
encrypted_data()
click to toggle source
# File lib/offsite_payments/integrations/pay2go.rb, line 114 def encrypted_data url_encrypted_data = OffsitePayments::Integrations::Pay2go.fetch_url_encode_data(@fields) add_field 'CheckValue', url_encrypted_data end