Use EDD_Payments_Query in edd_get_payments(). #1446