• Resolved amitrai95

    (@amitrai95)


    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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @amitrai95

    thank you for reaching out to us, we are here to help.
    I tried to recreate the issue as you described in my own testing environment, but was not able to trigger an email being sent without logging into my PayPal account.

    The only settings for these emails are found in WooCommerce > Settings > Emails, but I doubt anything there could cause this issue. I would think there is a 3rd party plugin that might affect our plugin causing this issue. Have you tested the plugin with all other plugins deactivated (except WooCommerce and PayPal Payments)?

    IPN is not being used anymore in our plugin and has been replaced by webhooks. So this can’t be affecting our plugin.

    If you want us to take a closer look at this, we would need to get your system report and possibly the PayPal Payments plugin logs. You can copy the logfiles from here:
    – WooCommerce > Status > Get system report > Copy for support
    – WooCommerce > Status > Logs > select “woocommerce-paypal-payments-integration-\[…\]” in the dropdown and click on view.
    If you don’t feel comfortable sharing those details on a public forum, please open a ticket with our service desk. You can find the instruction for this here: https://paypal.inpsyde.com/docs/request-support/
    (please add the URL of this thread in the ticket as well)

    Kind regards,
    Joost

    Thread Starter amitrai95

    (@amitrai95)

    Hi @joostvandevijver ,

    I can confirm that after deactivating all other plugins (so only WooCommerce and WooCommerce PayPal Payments were the active plugins), I still faced the same issue.

    I cleared browser cache, alongside server cache, and still, the order email triggered moments after the PayPal modal appears (and no details are entered).

    I’ve put in a support request with the details you’ve mentioned above.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @amitrai95

    thank you for testing this for us, sorry it took so long for me to reply to you.

    In order to go further with this investigation, we would need to see the system, report, the plugin logs and possibly ask you to provide us with a staging site to test this issue and see if we can find out what is causing this to occur.

    If you don’t feel comfortable providing any of these details via a public forum I can advise you to open a ticket with us here: https://paypal.inpsyde.com/docs/request-support/

    We have not seen this before, so we are very interested in taking a closer look.

    Kind regards,
    Joost

    Plugin Support Syde Joost

    (@joostvandevijver)

    The resolution to this issue was included in the 1.6.2 release (reference PCP-375), so we will go ahead and mark this thread as resolved. In case you’re still having problems, feel free to let us know!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WooCommerce order emails being sent before payment is complete’ is closed to new replies.