Possible incorrect invoices created due to EDD last update

[ad_1]

EDD introduced an incorrect parameter (reported) in the get_payments function in the EDD_Customer class. It isn’t returning the user payments because it’s using the ‘include’ param instead of the ‘post__in’ when calling the edd_get_payments function.

You use this function in the ‘edd_quaderno_create_invoice’.

As get_payments is a deprecated function, maybe you could use the EDD_Customer->get_orders() function.

Best Regards,
José Andrés

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer