lib/active_merchant/billing/gateways/ogone.rb in activemerchant-1.43.3 vs lib/active_merchant/billing/gateways/ogone.rb in activemerchant-1.44.0

- old
+ new

@@ -190,11 +190,11 @@ end # Credit the specified account by a specific amount. def credit(money, identification_or_credit_card, options = {}) if reference_transaction?(identification_or_credit_card) - deprecated CREDIT_DEPRECATION_MESSAGE + ActiveMerchant.deprecated CREDIT_DEPRECATION_MESSAGE # Referenced credit: refund of a settled transaction refund(money, identification_or_credit_card, options) else # must be a credit card or card reference perform_non_referenced_credit(money, identification_or_credit_card, options) end @@ -249,11 +249,11 @@ if payment_source.is_a?(String) add_alias(post, payment_source, options[:alias_operation]) add_eci(post, options[:eci] || '9') else if options.has_key?(:store) - deprecated OGONE_STORE_OPTION_DEPRECATION_MESSAGE + ActiveMerchant.deprecated OGONE_STORE_OPTION_DEPRECATION_MESSAGE options[:billing_id] ||= options[:store] end add_alias(post, options[:billing_id], options[:alias_operation]) add_eci(post, options[:eci] || '7') add_creditcard(post, payment_source) @@ -384,10 +384,10 @@ parameters.to_query end def add_signature(parameters) if @options[:signature].blank? - deprecated(OGONE_NO_SIGNATURE_DEPRECATION_MESSAGE) unless(@options[:signature_encryptor] == "none") + ActiveMerchant.deprecated(OGONE_NO_SIGNATURE_DEPRECATION_MESSAGE) unless(@options[:signature_encryptor] == "none") return end sha_encryptor = case @options[:signature_encryptor] when 'sha256'