#2589 - Update edd_earnings_total when payment total price is changed
#2589 - Using helper function and edd_sanitize_amount
Merge pull request #2665 from cklosowski/issue/2589

Updating edd_earnings_total when payment totals are edited