<% title t("views.credits.new.meta.title") %>

<%= t("views.credits.new.heading", name: @purchaser.username) %>

<% if @organizations %> <% @organizations.each do |org| %> <% unless @purchaser.id == org.id %> <%= t("views.credits.new.switch.org", name: org.name) %> <% end %> <% end %> <% end %> <% unless @purchaser.is_a? User %> <%= t("views.credits.new.switch.user") %> <% end %>
<% if flash[:error].present? %> <% end %>

Credits are used for <%= community_name %> listings as well as upcoming products and services.

1+
$5/per credit
10+
$4/per credit
100+
$3/per credit
1000+
$2.50/per credit

Contact <%= contact_link(additional_info: { subject: "Custom Bulk Pricing/Partnerships" }) %> for custom bulk pricing and partnerships.

How many credits does one listing cost?

All listings cost 1 credit, except:

  • products/tools: 5 credits
  • job listings: 25 credits

Buying more credits upfront makes listings more cost-effective.

25 credits purchased today costs $100. 25 credits purchased individually will cost $125, etc.

<%= params[:organization_id].present? ? t("views.credits.new.status.subtitle.org", name: @purchaser.name) : t("views.credits.new.status.subtitle.user") %>

<% count = @purchaser.credits.where(spent: false).size %> <%= params[:organization_id].present? ? t("views.credits.new.status.desc.org", name: @purchaser.name, count: count) : t("views.credits.new.status.desc.user", count: count) %>

<%= t("views.credits.new.how.subtitle") %>

<%= t("views.credits.new.how.desc_html") %>

<%= form_for(@credit) do |f| %>
<%= f.number_field :number_to_purchase, id: "amount-input", placeholder: t("views.credits.new.form.amount.placeholder"), autocomplete: "off", min: "0", max: "10000000", required: true %>
<% if @purchaser.is_a? Organization %> <% end %>
<% if @customer %>
<% @customer.sources.each do |source| %>
name="selected_card" value="<%= source.id %>" id="existing-card-<%= source.id %>" />
<% end %>
<% else %>
<%# A Stripe Element will be inserted here. %>
<% end %> <%# Used to display form errors. %>
<% if @purchaser.is_a? Organization %>

<%= t("views.credits.new.form.note_org") %>

<% end %> <% end %>