lib/active_merchant/billing/gateways/sage_pay.rb in activemerchant-1.47.0 vs lib/active_merchant/billing/gateways/sage_pay.rb in activemerchant-1.48.0

- old
+ new

@@ -352,10 +352,10 @@ def post_data(action, parameters = {}) parameters.update( :Vendor => @options[:login], :TxType => TRANSACTIONS[action], - :VPSProtocol => "3.00" + :VPSProtocol => @options.fetch(:protocol_version, '3.00') ) if(application_id && (application_id != Gateway.application_id)) parameters.update(:ReferrerID => application_id) end