Sha256: c11da4ab22a480395e3d834c66a8dff59435bb59b0fb3366f0d67d2111e11831
Contents?: true
Size: 928 Bytes
Versions: 12
Compression:
Stored size: 928 Bytes
Contents
module ActiveMerchant #:nodoc: module Billing #:nodoc: class PayflowExpressResponse < Response def email @params['e_mail'] end def full_name "#{@params['name']} #{@params['lastname']}" end def token @params['token'] end def payer_id @params['payer_id'] end # Really the shipping country, but it is all the information provided def payer_country address['country'] end def address { 'name' => full_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
12 entries across 12 versions & 4 rubygems