lib/active_merchant/billing/gateways/ogone.rb in activemerchant-1.87.0 vs lib/active_merchant/billing/gateways/ogone.rb in activemerchant-1.88.0
- old
+ new
@@ -406,11 +406,11 @@
parameters.to_query
end
def add_signature(parameters)
if @options[:signature].blank?
- ActiveMerchant.deprecated(OGONE_NO_SIGNATURE_DEPRECATION_MESSAGE) unless(@options[:signature_encryptor] == 'none')
- return
+ ActiveMerchant.deprecated(OGONE_NO_SIGNATURE_DEPRECATION_MESSAGE) unless(@options[:signature_encryptor] == 'none')
+ return
end
add_pair parameters, 'SHASign', calculate_signature(parameters, @options[:signature_encryptor], @options[:signature])
end