I'd want to get all edd_payment posts (or just their IDs), related to one download (or to a group of a several ones).
But it seems to me that a relation between payments and downloads is possible only through serialized array in metadata fields. It makes impossible to get all related edd_payment posts else than from a bruteforce running over.
Am i miss something, like a some function like edd_get_payments($download_id)?
I'm using EDD 1.5.1.
P.S. Another idea i have is to use $edd_logs somehow. Is it possible?
Thank you in advance.