lib/offsite_payments/integrations/authorize_net_sim.rb
# Passes a hash of the address the user entered in at Authorize.Net
Passes a hash of the address the user entered in at Authorize.Net
Passes a hash of the address the user entered in at Authorize . Net
def billing_address
          all = {}
          [:fax, :city, :company, :last_name, :country, :zip, :first_name, :address, :email, :state].each do |key_out|
            all[key_out] = unescape params['x_' + key_out.to_s]
          end
          all
        end
def billing_address all = { } [ :fax , :city , :company , :last_name , :country , :zip , :first_name , :address , :email , :state ] . each do | key_out | all [ key_out ] = unescape params [ 'x_' + key_out . to_s ] end all end
Passes a hash of the address the user entered in at Authorize.Net
Passes a hash of the address the user entered in at Authorize . Net