lib/active_merchant/billing/gateways/iridium.rb in activemerchant-1.47.0 vs lib/active_merchant/billing/gateways/iridium.rb in activemerchant-1.48.0
- old
+ new
@@ -364,10 +364,10 @@
end
def commit(request, options)
requires!(options, :action)
response = parse(ssl_post(test? ? self.test_url : self.live_url, request,
- {"SOAPAction" => "https://www.thepaymentgateway.net/#{options[:action]}",
+ {"SOAPAction" => "https://www.thepaymentgateway.net/" + options[:action],
"Content-Type" => "text/xml; charset=utf-8" }))
success = response[:transaction_result][:status_code] == "0"
message = response[:transaction_result][:message]
authorization = success ? [ options[:order_id], response[:transaction_output_data][:cross_reference], response[:transaction_output_data][:auth_code] ].compact.join(";") : nil