1
2
3
4
5
6
7
8
9
10
11
12
13
 def add_customer_data(post, options)
        if options.has_key? :email
          post[:email] = options[:email]
        end

        if options.has_key? :ip
          post[:ipaddress] = options[:ip]
        end   
        
        if options.has_key? :recurring
          post[:product_sku_1] = options[:recurring]
        end
      end