spree/spree — pull request #4774 by richardnuno (2014-06-03 18:00:36+00:00)
Title: Make sure the sum of capturable payments is equal to the order total

This check is meant to prevent not being able to capture enough funds to pay for the order or ever capturing more than the order total.