lib/active_merchant/billing/gateways/barclays_epdq.rb in activemerchant-1.43.3 vs lib/active_merchant/billing/gateways/barclays_epdq.rb in activemerchant-1.44.0
- old
+ new
@@ -61,10 +61,10 @@
# authorization is your unique order ID, not the authorization
# code returned by ePDQ
def credit(money, creditcard_or_authorization, options = {})
if creditcard_or_authorization.is_a?(String)
- deprecated CREDIT_DEPRECATION_MESSAGE
+ ActiveMerchant.deprecated CREDIT_DEPRECATION_MESSAGE
refund(money, creditcard_or_authorization, options)
else
credit_new_order(money, creditcard_or_authorization, options)
end
end