Hi Mark,
Since it’s happening with both Express Checkout (which is from our plugin) and PayPal Standard (which is built into Woo directly and has nothing to do with our plugin) I would say there must be some other conflict going on causing the emails to be sent twice.
Do you have any other plugins that are doing anything with email receipts, by chance? Or any other plugins that would be doing something on hooks related to orders being completed..??
Hi,
Not that I know of.
I think it’s related to the change of the order status.
Once the status changes to “Processing” there is a mail sent out to the admin.
I am guessing that I receive the “New order” mail + the change of status in the very moment when Paypal confirms the payment, which explains why the mails are sent at exactly the same time.
Would you happen to know how to change that?
If the status is getting updated it sounds like IPN must be kicking in, which would be coming from the PayPal Standard code. I would disable that and I bet that will stop happening, but then it would leave the orders as “Processing”.
We actually have a separate plugin, PayPal IPN for WordPress, that could be used to update WooCommerce however you want when transactions are completed, and it also provides the ability to do anything else you might want to do with IPN as well.
Thank you! Where do I disable the IPN? Couldn’t find it in my WordPress panel.
Edit:
If you meant the settings in my Paypal seller tools, that was disabled already.
Do you still have PayPal Standard enabled in WooCommerce?
Yep, because I see that customers use both ways all the time
That must be what’s triggering it then, which would mean you must either still have it setup in the PayPal account or that was actually what was used to submit the payment.
If you’re using our Express Checkout integration you should disable PayPal Standard. You should also double check your IPN settings in the PayPal profile, though, because if it is set there and you disable PayPal Standard then you’ll end up with IPN errors / retries from your PayPal account.