Sha256: 3dfbdaea9e23af9946543c4e7f44e8cb940e3fcdbb91a42f0cf0999482147469

Contents?: true

Size: 1.35 KB

Versions: 30

Compression:

Stored size: 1.35 KB

Contents

<% provide(:title, 'Thankyou') %>

<div class="row">
  <% if @shop.charge_declined? %>
    <div class="alert alert-warning">
      <p>
        Oops! Looks like you declined the charge.
        Unfortunately, you'll have to accept the charge on the next screen in order to continue installing the application.
      </p>
    </div>
  <% elsif @shop.charge_cancelled? %>
    <div class="alert alert-warning">
      <p>
        Your authorized charge for this application has expired.
        This could have occurred if:
      </p>
      <ul>
        <li>You uninstalled and reinstalled the application; or</li>
        <li>Your plan level has changed.</li>
      </ul>
      <p>
        In either case, it's no problem!
        Simply click okay and you'll be asked to authorize a new charge.
        Don't worry - you *wont'* be billed twice.
      </p>
    </div>
  <% else %>
    <div class="alert alert-success">
      <p>
        Thanks for installing <%= Rails.configuration.x.shopify_app_name %>!
      </p>
      <p>
        Before we start setting things up, we need you to authorize a charge for the application.
      </p>
    </div>
  <% end %>
</div>

<div class="row">
  <%= form_tag disco_app.create_charge_path, method: 'POST', target: '_parent' do %>
    <div class="form-group">
      <%= submit_tag 'Okay', class: 'form-input' %>
    </div>
  <% end %>
</div>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
disco_app-0.3.0 app/views/disco_app/charges/new.html.erb
disco_app-0.4.0 app/views/disco_app/charges/new.html.erb
disco_app-0.4.1 app/views/disco_app/charges/new.html.erb
disco_app-0.4.2 app/views/disco_app/charges/new.html.erb
disco_app-0.4.3 app/views/disco_app/charges/new.html.erb
disco_app-0.4.4 app/views/disco_app/charges/new.html.erb
disco_app-0.5.0 app/views/disco_app/charges/new.html.erb
disco_app-0.5.1 app/views/disco_app/charges/new.html.erb
disco_app-0.5.2 app/views/disco_app/charges/new.html.erb
disco_app-0.5.3 app/views/disco_app/charges/new.html.erb
disco_app-0.5.4 app/views/disco_app/charges/new.html.erb
disco_app-0.5.5 app/views/disco_app/charges/new.html.erb
disco_app-0.5.6 app/views/disco_app/charges/new.html.erb
disco_app-0.6.0 app/views/disco_app/charges/new.html.erb
disco_app-0.6.1 app/views/disco_app/charges/new.html.erb
disco_app-0.6.2 app/views/disco_app/charges/new.html.erb
disco_app-0.6.3 app/views/disco_app/charges/new.html.erb
disco_app-0.6.4 app/views/disco_app/charges/new.html.erb
disco_app-0.6.5 app/views/disco_app/charges/new.html.erb
disco_app-0.6.6 app/views/disco_app/charges/new.html.erb