lib/active_merchant/billing/gateways/qbms.rb in activemerchant-1.12.1 vs lib/active_merchant/billing/gateways/qbms.rb in activemerchant-1.13.0

- old
+ new

@@ -102,9 +102,14 @@ # * <tt>identification</tt> -- The ID of the original transaction against which the credit is being issued. # * <tt>options</tt> -- A hash of parameters. # # def credit(money, identification, options = {}) + warn CREDIT_DEPRECATION_MESSAGE + refund(money, identification, options = {}) + end + + def refund(money, identification, options = {}) commit(:refund, money, options.merge(:transaction_id => identification)) end # Query the merchant account status def query