Sha256: 39297e7026ceb1fcd1372b85b2ffdfb983668198ee12d33503b3adfe25cad5c1

Contents?: true

Size: 442 Bytes

Versions: 2

Compression:

Stored size: 442 Bytes

Contents

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

#effective-orders-new-charge-form{data: stripe_charge_data(order) }
  = effective_form_with(model: @stripe_charge || Effective::Providers::StripeCharge.new(order: order), url: effective_orders.stripe_charge_orders_path) do |f|
    = f.hidden_field :stripe_token
    = f.hidden_field :effective_order_id
    = f.submit order_checkout_label(:stripe), class: 'btn btn-primary'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
effective_orders-4.0.0beta2 app/views/effective/orders/stripe/_form.html.haml
effective_orders-4.0.0beta1 app/views/effective/orders/stripe/_form.html.haml