<%= form_tag confirm_payment_path, id: "checkout-form" do %>
<%# add migration to user first. Not sure about the anonymous part. %>
<%# render 'customer_form' unless current_user.has_payment_info? && current_user.where.not.is_anonymous? %>
<% if current_user and !current_user.has_payment_info? %>
<%= render 'customer_form' unless @anonymous_user%>
<% end %>
Please enter your donation details (this is a donation and will not be applied towards your account):