Sha256: d150fb3c69cc1689fa88763143eb158509ec68d82ea5e71f772ee57bcb35d47e

Contents?: true

Size: 839 Bytes

Versions: 85

Compression:

Stored size: 839 Bytes

Contents

= javascript_include_tag(EffectiveOrders.moneris_checkout_script_url)

- moneris_checkout = moneris_checkout_preload_request(order)

.card
  .card-body.bg-light
    .mb-3.text-center
      %h2 Checkout

    = effective_form_with(scope: :moneris_checkout, url: effective_orders.moneris_checkout_order_path(order), data: { 'moneris-checkout-form': moneris_checkout.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 moneris_checkout.js javascript
      = f.hidden_field :ticket

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

    .mt-3.text-center
      %em
        This checkout provided by
        = succeed('.') do
          = link_to('Moneris', 'https://www.moneris.com', target: '_blank', class: 'btn-link')

Version data entries

85 entries across 85 versions & 1 rubygems

Version Path
effective_orders-6.5.3 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.5.2 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.5.1 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.5.0 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.4.4 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.4.3 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.4.2 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.4.1 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.4.0 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.3.2 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.3.1 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.3.0 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.2.1 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.2.0 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.1.5 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.1.4 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.1.3 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.1.2 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.1.1 app/views/effective/orders/moneris_checkout/_form.html.haml
effective_orders-6.1.0 app/views/effective/orders/moneris_checkout/_form.html.haml