lib/active_merchant/billing/gateways/smart_ps.rb in activemerchant-1.13.0 vs lib/active_merchant/billing/gateways/smart_ps.rb in activemerchant-1.14.0
- old
+ new
@@ -67,13 +67,13 @@
add_currency(post, money, options)
add_processor(post, options)
commit('credit', money, post)
end
- def refund(auth, options = {})
+ def refund(money, auth, options = {})
post = {}
add_transaction(post, auth)
- commit('refund', options.delete(:amount), post)
+ commit('refund', money, post)
end
# Update the values (such as CC expiration) stored at
# the gateway. The CC number must be supplied in the