lib/active_merchant/billing/gateways/instapay.rb in activemerchant-1.100.0 vs lib/active_merchant/billing/gateways/instapay.rb in activemerchant-1.101.0

- old
+ new

@@ -148,12 +148,10 @@ end def post_data(action, parameters = {}) post = {} post[:acctid] = @options[:login] - if(@options[:password]) - post[:merchantpin] = @options[:password] - end + post[:merchantpin] = @options[:password] if @options[:password] post[:action] = action request = post.merge(parameters).collect { |key, value| "#{key}=#{CGI.escape(value.to_s)}" }.join('&') request end end