Method: ActiveMerchant::Billing::PaypalCommonAPI#reference_transaction

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

#reference_transaction(money, options = {}) ⇒ Object

[View source] [View on GitHub]

187
188
189
190
# File 'lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb', line 187

def reference_transaction(money, options = {})
  requires!(options, :reference_id)
  commit 'DoReferenceTransaction', build_reference_transaction_request(money, options)
end