Sha256: d91a8072aab38f9dcc1f81a5a222a3213e40a2ba760d3c8a9ee6993e3da92b34

Contents?: true

Size: 772 Bytes

Versions: 230

Compression:

Stored size: 772 Bytes

Contents

= javascript_include_tag 'https://checkout.stripe.com/checkout.js'

.card
  .card-header Customer Summary
  .card-body
    = effective_form_with(model: subscripter, url: effective_orders.customer_settings_path, remote: true, data: { stripe: subscripter_stripe_data(subscripter) }) do |f|
      = f.hidden_field :stripe_token, value: nil
      = f.error :stripe_token

      %p
        All subscription and billing notifications are sent to:
        %strong= f.object.user.email

      - if f.object.customer.active_card.present?
        %p
          All charges are made to
          %strong= f.object.customer.active_card

      %p= f.object.customer.payment_status

      = f.submit 'Update Card', border: false, left: true, class: 'effective-orders-stripe-update-card'

Version data entries

230 entries across 230 versions & 1 rubygems

Version Path
effective_orders-4.2.2 app/views/effective/customers/_form.html.haml
effective_orders-4.2.1 app/views/effective/customers/_form.html.haml
effective_orders-4.2.0 app/views/effective/customers/_form.html.haml
effective_orders-4.1.5 app/views/effective/customers/_form.html.haml
effective_orders-4.1.4 app/views/effective/customers/_form.html.haml
effective_orders-4.1.3 app/views/effective/customers/_form.html.haml
effective_orders-4.1.2 app/views/effective/customers/_form.html.haml
effective_orders-4.1.1 app/views/effective/customers/_form.html.haml
effective_orders-4.1.0 app/views/effective/customers/_form.html.haml
effective_orders-4.0.6 app/views/effective/customers/_form.html.haml
effective_orders-4.0.5 app/views/effective/customers/_form.html.haml
effective_orders-4.0.4 app/views/effective/customers/_form.html.haml
effective_orders-4.0.3 app/views/effective/customers/_form.html.haml
effective_orders-4.0.2 app/views/effective/customers/_form.html.haml
effective_orders-4.0.1 app/views/effective/customers/_form.html.haml
effective_orders-4.0.0 app/views/effective/customers/_form.html.haml
effective_orders-4.0.0beta19 app/views/effective/customers/_form.html.haml
effective_orders-4.0.0beta18 app/views/effective/customers/_form.html.haml
effective_orders-4.0.0beta17 app/views/effective/customers/_form.html.haml
effective_orders-4.0.0beta16 app/views/effective/customers/_form.html.haml