easydigitaldownloads/Easy-Digital-Downloads — pull request #2379 by somewebmedia (2014-06-17 13:44:46+00:00)
Title: Payment subtotal amount fixed

Function edd_get_payment_subtotal() should return the amount without any
discounts applied, that means it can not take total amount and just
subtract the taxes, like it was doing.

P.S. Sorry bout the document extra spaces and tabs formatting, my editor
is persistent on that