Sha256: 80490d0b22d0ec7b78680fe49868f8128a3c6a882f8108149f173c32c23cb1e7

Contents?: true

Size: 483 Bytes

Versions: 32

Compression:

Stored size: 483 Bytes

Contents

module EffectiveDeluxeDelayedHelper

  # https://developer.deluxe.com/s/article-hosted-payment-form
  def deluxe_delayed_hosted_payment_form_options(order)
    {
      xtoken: EffectiveOrders.deluxe.fetch(:access_token),
      containerId: "deluxeDelayedCheckout",
      xcssid: "deluxeDelayedCheckoutCss",
      xrtype: "Generate Token",
      xpm: "1", # 0 = CC & ACH, 1 = CC, 2 = ACH
      xautoprompt: false,
      xbtntext: order_checkout_label(:deluxe_delayed)
    }
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
effective_orders-6.19.1 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.19.0 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.18.4 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.18.3 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.18.2 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.18.1 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.18.0 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.17.2 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.17.1 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.17.0 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.16.4 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.16.3 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.16.2 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.16.1 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.16.0 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.15.0 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.14.6 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.14.5 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.14.4 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.14.3 app/helpers/effective_deluxe_delayed_helper.rb