Skip to content

Commit

Permalink
added credit() operation
Browse files Browse the repository at this point in the history
  • Loading branch information
jzw authored and Cody Fauser committed May 3, 2009
1 parent 993428d commit db2cf23
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/active_merchant/billing/gateways/merchant_e_solutions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ def unstore(card_id)
commit('X', nil, post)
end

# def credit(money, creditcard_or_card_id, options = {})
# post ={}
# add_payment_source(post, creditcard_or_card_id, options)
# commit('C', money, post)
# end
def credit(money, creditcard_or_card_id, options = {})
post ={}
add_payment_source(post, creditcard_or_card_id, options)
commit('C', money, post)
end

# def void
# end
Expand Down

0 comments on commit db2cf23

Please sign in to comment.