Shopify/active_merchant — pull request #328 by dscataglini (2012-03-31 04:23:15+00:00)
Title: Added support for TransactionSearch & DoReferenceTransaction

This version of DoReferenceTransaction supports all the options for this API call.
Eventually I'd like to replace the other implementations in PaypalExpressGateway & PaypalGateway to delegate to this one since they don't support all the possible options.

For Ex:
PaypalExpressGateway passes this option which is not a valid request option
xml.tag! 'n2:PaymentType', options[:payment_type] || 'Any'