Invoice email is sent twice

Created on 21 November 2022, almost 2 years ago
Updated 27 March 2023, over 1 year ago

Problem/Motivation

When order / invoice payment is done after the order has been placed, the invoice email is sent out twice (once at confirmation and another time when marked as fully paid) due to changes introduced with #3257231: No email is sent to customer β†’ .

Steps to reproduce

Place an order using manual or on-site payment. Later mark the order or the invoice as fully paid.

Proposed resolution

Introduce a way to save the information about whether the invoice email has been sent yet and check that information before spooling invoices for mailing.

Remaining tasks

Find an elegant solution 😬...

πŸ› Bug report
Status

RTBC

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡ΉAustria attisan Vienna

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024