Sha256: bb8202ceb5f10b83ddaafcacd8812decba5bc6971c3222a30129502084afebc6

Contents?: true

Size: 774 Bytes

Versions: 14

Compression:

Stored size: 774 Bytes

Contents

- deluxe = deluxe_hosted_payment_form_options(order)

.card
  .card-body
    %h2 Checkout

    .mt-4

    = effective_form_with(scope: :deluxe, url: effective_orders.deluxe_order_path(order), data: { 'deluxe-checkout': deluxe.to_json }) do |f|
      = f.hidden_field :purchased_url, value: purchased_url
      = f.hidden_field :declined_url, value: declined_url

      -# This is set by the deluxe.js javascript on Submit
      = f.hidden_field :payment_intent, required: true

      - if EffectiveOrders.deluxe[:environment] == 'sandbox'
        .alert.alert-info.mb-4
          This is the #{Rails.env.upcase} SERVER.
          %br
          Use credit card number 5555 5555 5555 4444 with any future expiry and any CVC.

      = render('effective/orders/deluxe/element')

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
effective_orders-6.17.2 app/views/effective/orders/deluxe/_form.html.haml
effective_orders-6.17.1 app/views/effective/orders/deluxe/_form.html.haml
effective_orders-6.17.0 app/views/effective/orders/deluxe/_form.html.haml
effective_orders-6.16.4 app/views/effective/orders/deluxe/_form.html.haml
effective_orders-6.16.3 app/views/effective/orders/deluxe/_form.html.haml
effective_orders-6.16.2 app/views/effective/orders/deluxe/_form.html.haml
effective_orders-6.16.1 app/views/effective/orders/deluxe/_form.html.haml
effective_orders-6.16.0 app/views/effective/orders/deluxe/_form.html.haml
effective_orders-6.15.0 app/views/effective/orders/deluxe/_form.html.haml
effective_orders-6.14.6 app/views/effective/orders/deluxe/_form.html.haml
effective_orders-6.14.5 app/views/effective/orders/deluxe/_form.html.haml
effective_orders-6.14.4 app/views/effective/orders/deluxe/_form.html.haml
effective_orders-6.14.3 app/views/effective/orders/deluxe/_form.html.haml
effective_orders-6.14.2 app/views/effective/orders/deluxe/_form.html.haml