• Resolved hans410947

    (@hans410947)


    Hello,

    I am using the FluentSMTP plugin with Outlook/Azure to send emails from my WooCommerce store, and it has been working great for a long while, so thank you for your helpful plugin!

    I am also using the Stripe Payment Gateway (https://sv.www.ads-software.com/plugins/woocommerce-gateway-stripe/) in my WooCommerce store.

    The other day, I changed one setting in the Stripe plugin:

    In WooCommerce > Settings > Payments > Stripe > Settings > Advanced settings, I unticked the box for “Enable the legacy checkout experience”. I did this in order to activate the New Checkout that the Stripe plugin offers.

    After switching from the Legacy checkout to the New checkout in the Stripe plugin, some emails are being sent as duplicates.

    When a customer makes an order in my store, WooCommerce sends out 4 different emails:

    1. Your order has been received

    2. We have started processing your orders

    3. Your order has been shipped

    4. New order (this email is sent to the store owner)

    Email #1, “Your order has been received”, and email #4 “New Order”, is being sent twice, meaning that the customer and the store owner are receiving 2 copies of these emails. Email #2 and #3 are sent correctly (only one copy).

    This issue appeared after I switched from the Legacy to the New checkout in the Stripe plugin.

    The Stripe plugin support could not replicate the issue on their test site.

    My testing so far has these results:

    • Enabling the New checkout in the Stripe plugin makes the issue appear, and switching back to Legacy checkout makes the issue go away
    • Disabling all other plugins except for Stripe and WooCommerce does not solve the issue. This means that also FluentSMTP plugin was disabled, which would indicate that it is not part of the issue. However, it seems like the connection to Azure/Outlook is still active after disabling FluentSMTP, because the emails that are being sent from my store still have the correct sender address
    • When I created a staging site, which is an exact duplicate of my live site, except for the URL being slightly different, then the issue goes away, and only one email #1 is being sent. But this email has a different sender address, as it is sent from the staging site′s URL

    My question is this: could there be a conflict between the Stripe plugin and the FluentSMTP plugin, which is causing the issue?

    Could you maybe install the Stripe plugin (https://sv.www.ads-software.com/plugins/woocommerce-gateway-stripe/) on your own testing site, then enable the New checkout, and see if you can reproduce the issue?

    Thank you very much!

    Best regards

    Hans

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Ibrahim Sharif

    (@ibrahimsharif)

    Hello @hans410947,

    Thank you for your detailed investigation and for reaching out to us.

    I understand that you’re experiencing an issue where duplicate emails are being sent after enabling the New Checkout in the Stripe plugin. I appreciate the troubleshooting steps you’ve taken so far.

    I just tried to replicate the issue but it is not recreating on my end. To further investigate the issue, it would be helpful to have a list of all the plugins that are currently active on your website. Additionally, please provide me with your hosting details, including whether it is shared hosting and the limits of your PHP and SQL directives. You can find this information under Tools > Site Health in your WordPress dashboard.

    Having this information will allow me to better understand your website’s configuration and identify potential conflicts or limitations that may be contributing to the issue.

    Thank you for your cooperation.

    Thread Starter hans410947

    (@hans410947)

    Hello @ibrahimsharif and thank you for your reply.

    I will list the info you requested below, but also want to share that I found this: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/2463

    So it is unclear if the issue is in the Stripe plugin, or a conflict between plugins. But it seems that the issue is both sending duplicate emails, and also reducing the WooCommerce stock with more items than was actually purchased.

    And also, as @elaraweb pointed out here https://www.ads-software.com/support/topic/emails-sent-twice-4/ the issue seems to happen also with other SMTP plugins.

    My plugins:

    CURCY – WooCommerce Multi Currency Premium
    Flexible Shipping
    FluentSMTP
    LiteSpeed Cache
    Really Simple SSL Pro
    Theme Customisations
    weLaunch Framework
    WooCommerce
    WooCommerce Multilingual & Multicurrency
    WooCommerce Stripe Gateway
    Wordfence Security
    WordPress GDPR
    WPML Multilingual CMS
    WPML SEO
    WPML String Translation
    YITH WooCommerce EU VAT, OSS & IOSS Premium
    YITH WooCommerce PDF Invoices & Packing Slips Premium
    Yoast SEO

    I am on shared hosting.

    PHP memory limit: 3072M

    I am not sure where to find the SQL limits.. In Tools > Site Health > Info > Database, at the bottom of the list it says “Maximum number of connections: 2000”. Is this the info you need?

    Thank you!

    The issue is listed here too, lots of people are impacted: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/2463.

    Thread Starter hans410947

    (@hans410947)

    Update: the issue seems to have been with the WooCommerce Stripe Gateway plugin. That plugin has now been updated and the issue resolved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.