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.
Merge pull request #2379 from somewebmedia/fix/payment

Payment subtotal amount fixed