Step 5: Payment Info
<% if (data.billingErrors) { %>
 
The billing system is temporarily unavailable. Please try again later.
<% } else if (data.loading) { %>
 
Loading billing accounts...
<% } else { %>
 
<% if (data.billingAccounts.size() == 0) { %> Please enter your payment information to continue <% } else { %> Please choose a credit card or create a new one to continue <% } %>
 
<% if (data.billingAccounts.size() == 0) { %> <%= partial(data.billingAccountNew, {}); %> <% } else { %> <% var count = 0; %> <% data.billingAccounts.each(function(account) { %> <% count++; %> <% }); %>
    Cardholder Name Card Number Card Expiration
<% if(data.newSiteData.billingAccountId == 0 && count == 0 && !data.newSiteData.createNewAccount) { %> <% } else if (data.newSiteData.billingAccountId != 0 && data.newSiteData.billingAccountId == account.value.id) { %> <% } else { %> <% } %> <%= account.value.name %> <%= account.value.number %> <%= account.value.expiry %>
<% if (data.newSiteData.createNewAccount) { %> <% } else { %> <% } %> Add new card...
<%= partial(data.billingAccountNew, {}); %>
<% } %>
 
If you have a coupon code, enter it below.
  Apply code...
The entered coupon code (<%= data.newSiteData.couponCode %>) is valid.
Details: <%= data.newSiteData.couponTitle %>
 
Projected Total Monthly Cost
Updating...
<% } %>