VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: hartlandwintertrails on December 14, 2022, 20:07:00 PM

Title: Received many confirmation invoices for one (1) order
Post by: hartlandwintertrails on December 14, 2022, 20:07:00 PM
Hello,

Yes, that's right.  I (at the store administrator's email address) have received 14 confirmation invoice emails - including one this morning - as the result of that 1 order.  The order was placed on 13 December, and I received 13 of the 14 confirmations on the 13th.  I have searched the forums and found no mention of this particular problem.

I would like to receive only one (1) confirmation email per order.  Can someone help with this?

Am using VirtueMart v4.0.4 with Joomla v4.2.6.

Thanks very much!

-Gary
Title: Re: Received many confirmation invoices for one (1) order
Post by: jenkinhill on December 14, 2022, 20:21:44 PM
I guess this is with PayPal? If so it has been discussed a few times in the forum. The likely solution is to update VirtueMart.

Test with the latest release, http://dev.virtuemart.net/attachments/download/1355/com_virtuemart.4.0.10.10767_package_or_extract.zip
Title: Re: Received many confirmation invoices for one (1) order
Post by: hartlandwintertrails on December 14, 2022, 21:00:44 PM
Hello jenkinhill,

Thanks for your comment.  I goofed!  I am using VM com_virtuemart.4.0.10.10767_package_or_extract, which you recommended related to an earlier problem I had.  Upgrading to this version fixed that earlier problem, by the way.  Yes, I am using the PayPal payment module, but am having trouble with this, the latest version of VM.

Any other ideas, folks?

Thank you.
-Gary
Title: Re: Received many confirmation invoices for one (1) order
Post by: ssc3 on December 14, 2022, 21:32:51 PM
This can sometime occur if the PayPal IPN is failing and not returning a 200 status code.
PayPal will resend the IPN triggering another email.

There is an alternative PayPal plugin that does not require IPN's to confirm the order.

https://plugins.online-store.co.uk/paypal_express_checkout.html
This gets the order status directly from the PayPal server at the end of the order process. No IPN's are needed.
Works best with shortcuts turned off. To the customer that makes the ordering process look just like PayPal Standard.

or a more update plugin.

PayPal Checkout SSC
https://plugins.online-store.co.uk/virtuemart-paypal-checkout.html
also takes order status directly from the server but can use webhooks as a backup.
Webhooks are PayPal's replacement for IPN's.
Title: Re: Received many confirmation invoices for one (1) order
Post by: hartlandwintertrails on December 15, 2022, 00:02:46 AM
That did it, ssc3!  Thank you very much for the tip.  The result is a much cleaner and intuitive experience for the user.  Have a good day.