lib/active_merchant/billing/gateways/swipe_checkout.rb in activemerchant-1.101.0 vs lib/active_merchant/billing/gateways/swipe_checkout.rb in activemerchant-1.102.0

- old
+ new

@@ -56,10 +56,10 @@ post[:first_name], post[:last_name] = split_names(address[:name]) post[:address] = "#{address[:address1]}, #{address[:address2]}" post[:city] = address[:city] post[:country] = address[:country] - post[:mobile] = address[:phone] # API only has a "mobile" field, no "phone" + post[:mobile] = address[:phone] # API only has a "mobile" field, no "phone" end def add_invoice(post, options) # store shopping-cart order ID in Swipe for merchant's records post[:td_user_data] = options[:order_id] if options[:order_id]