• Resolved bluebirdwebdev

    (@bluebirdwebdev)


    When using the Post SMTP plugin with WooCommerce, if a customer orders a a lot of downloadable items (in this case 20x unique downloadable/virtual items), after a period of 60-80 seconds, the order checkout page times out and does not proceed to the “Thanks for your order” page.

    If I disable the plugin, the problem goes away. No other plugin/theme conflict exists, it only happens if I enable Post SMTP.

    The order itself actually completes, but is duplicated twice in WooCommerce as two separate orders, and the customer receives 20x emails for their 20x downloadable files, however all order notifications are duplicated (they are received twice)

    My settings are:

    TCP Connection Timeout (sec) 10
    TCP Read Timeout (sec) 60
    Outgoing Mail Server Hostname smtp.gmail.com
    Outgoing Mail Server Port 587
    Envelope-From Email Address [email protected]
    Security STARTTLS
    Authentication OAuth 2.0

    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The first step is to switch from Gmail to sendgrid or mailgun.

    Thread Starter bluebirdwebdev

    (@bluebirdwebdev)

    I tried several different SMTP providers, using an SMTP plugin within WordPress, and none of them were able to fix the problem.

    I also tried a competing plugin WP Mail SMTP by WPForms using several different providers and none of them were able to fix the issue.

    I did however manage to solve this by setting up an SMTP send at my server level, rather than WordPress/CMS level.

    As soon as I did that, the timeout on the WooCommerce checkout page went away and emails were successfully delivered in bulk to the purchaser.

    So there’s obviously some kind of issue with WordPress/WooCommerece/third party SMTP plugins when dealing with large quantities of downloadable/virtual items being ordered, since virtual items send an email to the customer for each item ordered.

    Thanks for the update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post SMTP Timeout – WooCommerce Orders Fail’ is closed to new replies.