Sha256: defb1881ec82d89bec3f89993d9fb182dba02b72c2ff84d67dd9662e081b22e6

Contents?: true

Size: 701 Bytes

Versions: 5

Compression:

Stored size: 701 Bytes

Contents

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    class PayflowExpressResponse < Response
      def email
        @params['e_mail']
      end
      
      def token
        @params['token']
      end
      
      def payer_id
        @params['payer_id']
      end
      
      def address
        {  'name'       => @params['name'],
           'company'    => nil,
           'address1'   => @params['street'],
           'address2'   => nil,
           'city'       => @params['city'],
           'state'      => @params['state'],
           'country'    => @params['country'],
           'zip'        => @params['zip'],
           'phone'      => nil
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activemerchant-1.0.0 lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb
activemerchant-1.0.2 lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb
activemerchant-1.0.3 lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb
activemerchant-1.1.0 lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb
activemerchant-1.0.1 lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb