lib/offsite_payments/integrations/world_pay.rb
# WorldPay only supports a single name field so we have to concat
WorldPay only supports a single name field so we have to concat
WorldPay only supports a single name field so we have to concat
def customer(params={})
          add_field(mappings[:customer][:email], params[:email])
          add_field(mappings[:customer][:phone], params[:phone])
          add_field('name', "#{params[:first_name]} #{params[:last_name]}")
        end
def customer ( params = { } ) add_field ( mappings [ :customer ] [ :email ] , params [ :email ] ) add_field ( mappings [ :customer ] [ :phone ] , params [ :phone ] ) add_field ( 'name' , "#{params[:first_name]} #{params[:last_name]}" ) end
WorldPay only supports a single name field so we have to concat
WorldPay only supports a single name field so we have to concat
params
<not_specific>