# File lib/active_merchant/billing/gateways/plugnpay.rb, line 154 def credit(money, identification_or_creditcard, options = {}) post = PlugnpayPostData.new add_amount(post, money, options) if identification_or_creditcard.is_a?(String) post[:orderID] = identification_or_creditcard commit(:refund, post) else add_creditcard(post, identification_or_creditcard) add_addresses(post, options) add_customer_data(post, options) commit(:credit, post) end end