Shopify/active_merchant — pull request #367 by mbulat (2012-05-22 23:49:18+00:00)
Title: Allow incomplete captures with paypal

Provides support for multiple captures against a single authorization in Paypal. A remote test is included.

For example:

auth = @gateway.authorize(100, @creditcard, @params)
@gateway.capture(25, auth.authorization, {:complete_type => "NotComplete"})
@gateway.capture(35, auth.authorization, {:complete_type => "NotComplete"})
@gateway.capture(40, auth.authorization)