lib/active_merchant/billing/gateways/cyber_source.rb in bitfluent-activemerchant-1.5.1.1 vs lib/active_merchant/billing/gateways/cyber_source.rb in bitfluent-activemerchant-1.15.1
- old
+ new
@@ -126,13 +126,17 @@
def void(identification, options = {})
commit(build_void_request(identification, options), options)
end
- def credit(money, identification, options = {})
+ def refund(money, identification, options = {})
commit(build_credit_request(money, identification, options), options)
end
+ def credit(money, identification, options = {})
+ deprecated CREDIT_DEPRECATION_MESSAGE
+ refund(money, identification, options)
+ end
# CyberSource requires that you provide line item information for tax calculations
# If you do not have prices for each item or want to simplify the situation then pass in one fake line item that costs the subtotal of the order
#
# The line_item hash goes in the options hash and should look like