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