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

- old
+ new

@@ -105,11 +105,11 @@ Response.new( (response['acknowledgement'] == 'Success'), (response['friendlyErrorMessage'] || response['verboseErrorMessage'] || response['acknowledgement']), response, authorization: response['transactionId'], - test: test?, + test: test? ) end def post_data(post) post.collect { |key, value| "#{key}=#{CGI.escape(value.to_s)}" }.join('&') @@ -131,11 +131,11 @@ end def headers { 'User-Agent' => "ActiveMerchantBindings/#{ActiveMerchant::VERSION}", - 'JG_APPLICATIONKEY' => "#{@options[:application_key]}", - 'JG_SECURITYTOKEN' => "#{@options[:security_token]}" + 'JG_APPLICATIONKEY' => @options[:application_key].to_s, + 'JG_SECURITYTOKEN' => @options[:security_token].to_s } end end end end