Order confirmation email arrive twice.

If you are runnig Joomla 3.x and Virtuemart 3.x please post to this forum your questions or support tickets about One Page Checkout

Order confirmation email arrive twice.

Postby kovacshazi@.....com » Wed Mar 08, 2023 1:11 pm

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
kovacshazi@.....com
 
Posts: 10
Joined: Wed Dec 14, 2016 7:01 pm

Re: Order confirmation email arrive twice.

Postby joomla@.....de » Thu Mar 09, 2023 11:44 am

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
joomla@.....de
 
Posts: 40
Joined: Thu Jan 31, 2013 8:02 pm

Re: Order confirmation email arrive twice.

Postby joomla@.....de » Thu Mar 09, 2023 5:59 pm

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.
Attachments
mails-send-twice-OPC-2023-03-09.png
mails-send-twice-OPC-2023-03-09.png (83 KiB) Viewed 269 times
joomla@.....de
 
Posts: 40
Joined: Thu Jan 31, 2013 8:02 pm


Return to One Page Checkout for Virtuemart 3 on Joomla 3.x

cron