lib/active_merchant/billing/gateways/mastercard.rb in activemerchant-1.112.0 vs lib/active_merchant/billing/gateways/mastercard.rb in activemerchant-1.113.0

- old
+ new

@@ -103,11 +103,11 @@ }, customer: {}, billing: {}, device: {}, shipping: {}, - transaction: {}, + transaction: {} } end def add_invoice(post, amount, options, node=:order) post[node][:amount] = amount(amount) @@ -188,10 +188,10 @@ end def headers { 'Authorization' => 'Basic ' + Base64.encode64("merchant.#{@options[:userid]}:#{@options[:password]}").strip.delete("\r\n"), - 'Content-Type' => 'application/json', + 'Content-Type' => 'application/json' } end def commit(action, post) url = build_url(post.delete(:orderid), post.delete(:transactionid))