Feature #6528
Implement PDF invoice generation for subscription and product subscription transactions.
On successful payment or subscription confirmation, generate a PDF invoice and attach it to the corresponding email notification.
Ensure the invoice includes customer details, plan/product details, billing amounts, tax, transaction reference, and date.