class OffsitePayments::Integrations::Pay2goCvs::Helper
Public Class Methods
new(order, account, options = {})
click to toggle source
Calls superclass method
# File lib/offsite_payments/integrations/pay2go_cvs.rb, line 81 def initialize(order, account, options = {}) super add_field 'MerchantID', OffsitePayments::Integrations::Pay2goCvs.merchant_id end
Public Instance Methods
credential_based_url()
click to toggle source
# File lib/offsite_payments/integrations/pay2go_cvs.rb, line 86 def credential_based_url @fields['CustomizedUrl'] end
encrypted_data()
click to toggle source
# File lib/offsite_payments/integrations/pay2go_cvs.rb, line 90 def encrypted_data url_encrypted_data = OffsitePayments::Integrations::Pay2goCvs.fetch_url_encode_data(@fields) add_field 'CheckValue', url_encrypted_data end