Page 1 of 1

Order confirmation email arrive twice.

PostPosted: Wed Mar 08, 2023 1:11 pm
by kovacshazi@.....com
When OPC is enabled the Order Confirmation email will be sent twice.
This is not a problem with a Vitruemart normal shopping cart.

What could be the problem?
Joomla4.2.8, VM4.0.12, Rupostel OPC latest

Re: Order confirmation email arrive twice.

PostPosted: Thu Mar 09, 2023 11:44 am
by joomla@.....de
yes, I have the same problem since I migrated to VM4 and Joomla4. I used the latest release of OPC.

https://www.rupostel.com/phpBB3/viewtopic.php?f=5&t=840&start=0

Re: Order confirmation email arrive twice.

PostPosted: Thu Mar 09, 2023 5:59 pm
by joomla@.....de
This is probably the cause. The function plgVmConfirmedOrder in components\com_onepage\overrides\cart_override.php is probably executed twice and the mails are used twice. I modified mine and fixed it.

It would be great if Stan also took that into account in the core script. But he seems ill or on vacation, at least no sign of life.