Order / Payment Emails being duplicated

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
briajer
Posts: 15
Joined: 18 Oct 2022, 15:43

Order / Payment Emails being duplicated

Post by briajer » 29 Mar 2023, 09:37

I am seeing duplicate emails for every order placed / paid (aimeos 2022.10.06) just updated yesterday but the issue was there before.

Each email is sending 3 times.

I have switched SMTP from production back to mailtrap and still seeing the duplicates.

cron jobs seem ok

is there anything I can check?

User avatar
aimeos
Administrator
Posts: 7778
Joined: 01 Jan 1970, 00:00

Re: Order / Payment Emails being duplicated

Post by aimeos » 30 Mar 2023, 07:56

Which host application do you use? Laravel or TYPO3?

There's one e-mail sent for each payment/delivery status change so this might be the cause for the e-mails but in that case, they are not entirely the same but differ in the intro section.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

briajer
Posts: 15
Joined: 18 Oct 2022, 15:43

Re: Order / Payment Emails being duplicated

Post by briajer » 30 Mar 2023, 13:16

Laravel, currently using test mode for payments

it might be the case that it is status changes triggering the multiple emails but they all look the same and contain the same PDF

User avatar
aimeos
Administrator
Posts: 7778
Joined: 01 Jan 1970, 00:00

Re: Order / Payment Emails being duplicated

Post by aimeos » 02 Apr 2023, 11:15

Can you set the log level to "6" and see in the Log panel of the admin backend when emails are sent and what the order status is?
https://github.com/aimeos/aimeos/blob/m ... p.php#L201

Here's the code line where the logging will happen:
https://github.com/aimeos/ai-controller ... #L325-L326
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply