% if @selected_plan.nil? %>
<% cents_due_now = 0 %>
Saving a payment method allows you to freely switch between Notebook.ai subscription plans with ease. Your information is stored securely in our payment processing provider, Stripe, and will not be shared with any other parties.
<% else %>
<%
case @selected_plan.stripe_plan_id
when 'premium'
cents_due_now = 900
service_length = 'one month'
bill_frequency = 'month'
when 'premium-trio'
cents_due_now = 2400
service_length = 'three months'
bill_frequency = '3 months'
when 'premium-annual'
cents_due_now = 8400
service_length = 'twelve months'
bill_frequency = 'year'
end
%>
You are signing up for Notebook.ai's <%= @selected_plan.name %> plan.
You will be charged <%= number_to_currency(cents_due_now / 100.0) %> USD now
for <%= service_length %> of membership, renewing every <%= bill_frequency %>.
In order to get started, we need to collect your payment information below.
<% end %>
All prices are in US Dollars. Making payments using another currency will automatically exchange into US Dollars at the current exchange rates.