lib/active_merchant/billing/integrations/two_checkout/helper.rb in activemerchant-1.42.2 vs lib/active_merchant/billing/integrations/two_checkout/helper.rb in activemerchant-1.42.3

- old
+ new

@@ -54,10 +54,10 @@ add_field(mappings[:customer][:phone], params[:phone]) add_field('card_holder_name', "#{params[:first_name]} #{params[:last_name]}") end # Uses Pass Through Product Parameters to pass in lineitems. - # (must mark tanigble sales as shipped to settle the transaction) + # (must mark tangible sales as shipped to settle the transaction) def line_item(params = {}) add_field('mode', '2CO') (max_existing_line_item_id = form_fields.keys.map do |key| i = key.to_s[/^li_(\d+)_/, 1] (i && i.to_i)