Sha256: 80490d0b22d0ec7b78680fe49868f8128a3c6a882f8108149f173c32c23cb1e7

Contents?: true

Size: 483 Bytes

Versions: 46

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

46 entries across 46 versions & 1 rubygems

Version Path
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
effective_orders-6.14.2 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.14.1 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.14.0 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.13.3 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.13.2 app/helpers/effective_deluxe_delayed_helper.rb
effective_orders-6.13.1 app/helpers/effective_deluxe_delayed_helper.rb