WooCommerce order emails being sent before payment is complete
-
On my WooCommerce store, I have the WooCommerce PayPal Payments plugin installed.
Here is an image of my current payment interface: https://i.stack.imgur.com/cWPnBm.png
Now, when I click on the “Pay with PayPal” button, the PayPal modal pops up which prompts me to log into PayPal. If I wait a few seconds, and input nothing in the modal, an email comes through saying “thank you for your order”, which shouldn’t happen.
In short, the WooCommerce new order email gets triggered, even though the payment details haven’t been entered (and no payment has been made). If I then close the modal and refresh the checkout page, I’m still asked for payment (normally on successful payment and order, you’ll get redirected to a thank you / summary page).
Then, when logging in as an admin, I can see the new order come through which states the order is paid already.
I’ve read it’s something to do with IPN? The email, as you know, should only be sent to a user once payment has been made.
I’ve disabled the plugin and tried making an order using the PayPal standard option which comes out of the box with WooCommerece. That one works fine. I get an email notification after entering my details (and then redirected to a thank you page). But, once this plugin is enabled, it doesn’t work?
- The topic ‘WooCommerce order emails being sent before payment is complete’ is closed to new replies.