Sha256: 963f3ea2ef0e92f24c14aee51c6636e81743036936a4962c7de4fd0757ac1038

Contents?: true

Size: 736 Bytes

Versions: 14

Compression:

Stored size: 736 Bytes

Contents

- deluxe_delayed = deluxe_delayed_hosted_payment_form_options(order)

= effective_form_with(scope: :deluxe_delayed, url: effective_orders.deluxe_delayed_order_path(order), data: { 'deluxe-delayed-checkout': deluxe_delayed.to_json }) do |f|
  = f.hidden_field :declined_url, value: declined_url
  = f.hidden_field :deferred_url, value: deferred_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_delayed/element')

Version data entries

14 entries across 14 versions & 1 rubygems

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