lib/active_merchant/billing/gateways/mastercard.rb in activemerchant-1.83.0 vs lib/active_merchant/billing/gateways/mastercard.rb in activemerchant-1.84.0

- old
+ new

@@ -1,9 +1,8 @@ module ActiveMerchant module Billing module MastercardGateway - def initialize(options={}) requires!(options, :userid, :password) super end @@ -79,10 +78,11 @@ gsub(%r(("number"?\\?":"?\\?")\d*), '\1[FILTERED]'). gsub(%r(("securityCode"?\\?":"?\\?")\d*), '\1[FILTERED]') end private + def new_post { order: {}, sourceOfFunds: { provided: { @@ -260,9 +260,8 @@ def next_authorization(authorization) orderid, prev_transactionid = split_authorization(authorization) next_transactionid = SecureRandom.uuid [orderid, next_transactionid, prev_transactionid] end - end end end