Sha256: d84ee0c0a863602f82616853faf7a04570a9967ea246d05b7d50c7ee59d719c3

Contents?: true

Size: 446 Bytes

Versions: 25

Compression:

Stored size: 446 Bytes

Contents

module EffectiveDeluxeHelper

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

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
effective_orders-6.17.2 app/helpers/effective_deluxe_helper.rb
effective_orders-6.17.1 app/helpers/effective_deluxe_helper.rb
effective_orders-6.17.0 app/helpers/effective_deluxe_helper.rb
effective_orders-6.16.4 app/helpers/effective_deluxe_helper.rb
effective_orders-6.16.3 app/helpers/effective_deluxe_helper.rb
effective_orders-6.16.2 app/helpers/effective_deluxe_helper.rb
effective_orders-6.16.1 app/helpers/effective_deluxe_helper.rb
effective_orders-6.16.0 app/helpers/effective_deluxe_helper.rb
effective_orders-6.15.0 app/helpers/effective_deluxe_helper.rb
effective_orders-6.14.6 app/helpers/effective_deluxe_helper.rb
effective_orders-6.14.5 app/helpers/effective_deluxe_helper.rb
effective_orders-6.14.4 app/helpers/effective_deluxe_helper.rb
effective_orders-6.14.3 app/helpers/effective_deluxe_helper.rb
effective_orders-6.14.2 app/helpers/effective_deluxe_helper.rb
effective_orders-6.14.1 app/helpers/effective_deluxe_helper.rb
effective_orders-6.14.0 app/helpers/effective_deluxe_helper.rb
effective_orders-6.13.3 app/helpers/effective_deluxe_helper.rb
effective_orders-6.13.2 app/helpers/effective_deluxe_helper.rb
effective_orders-6.13.1 app/helpers/effective_deluxe_helper.rb
effective_orders-6.13.0 app/helpers/effective_deluxe_helper.rb