Payinvoice notifications test

Merge conflicts
AD
1y ago
+2007-427

Summary by cubic

Added email notifications for failed invoice payments, including a new mailer and template, and updated payment services to send notifications on payment errors.

  • New Features
    • Sends a detailed email to users when an invoice payment fails for reasons other than inactive bank accounts.
    • Added a new mailer method and HTML template for payment failure notifications.
    • Updated payment and transfer services to trigger these notifications on relevant errors.
    • Added tests and VCR cassettes to verify notification delivery for different payment failure scenarios.