The problem that PDF Invoices generated when a new purchase order desire that PDF Invoices generated after payment is approved, because meta_names (_tribe_wooticket ….) is generated when the application is approved, the post_id _tribe_wooticket_security_code is not the same ID ORDER.
If you need to print screen the db to help can ask