Method: ActiveMerchant::Billing::PaypalCommonAPI#credit

Defined in:
lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb

#credit(money, identification, options = {}) ⇒ Object

[View source] [View on GitHub]

141
142
143
144
# File 'lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb', line 141

def credit(money, identification, options = {})
  ActiveMerchant.deprecated Gateway::CREDIT_DEPRECATION_MESSAGE
  refund(money, identification, options)
end