Sha256: 27ca0bee1f32bebeaf94cc7e5198dd4ea40577c81101b4c5b28889448dedea87

Contents?: true

Size: 561 Bytes

Versions: 3

Compression:

Stored size: 561 Bytes

Contents

decorate ActiveMerchant::Billing::AuthorizeNetCimGateway, with: :workarea do
  def build_create_customer_profile_transaction_request(xml, options)
    options[:extra_options] ||= {}
    options[:extra_options].merge!('x_delim_char' => @options[:delimiter]) if @options[:delimiter]
    options[:extra_options].merge!('x_duplicate_window' => 0)

    add_transaction(xml, options[:transaction])
    xml.tag!('extraOptions') do
      xml.cdata!(format_extra_options(options[:extra_options]))
    end unless options[:extra_options].blank?

    xml.target!
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-authorize_cim-2.1.3 test/support/workarea/authorize_cim_gateway_duplicate_window_patch.rb
workarea-authorize_cim-2.1.2 test/support/workarea/authorize_cim_gateway_duplicate_window_patch.rb
workarea-authorize_cim-2.1.1 test/support/workarea/authorize_cim_gateway_duplicate_window_patch.rb