Forum Replies Created

Viewing 15 replies - 1 through 15 (of 242 total)
  • Thread Starter skafte

    (@skafte)

    Hi @dwpriv,

    Thanks for the quick response! To clarify – by “store owner” I do mean the admin of the website, sorry that wasn’t clear. My goal is to ensure customers receive a PDF invoice attached to their automatically generated renewal order email.

    Please find a screenshot of my current settings here: https://imgur.com/a/kzkKS4Y

    As you can see, I currently have the following enabled:

    1. New Renewal Order
    2. Completed Renewal Order – Recipient
    3. Processing Renewal Order – Recipient
    4. New Initial Order – Recipient.

    I had assumed “Processing Renewal Order – Recipient” would be the right one for this.

    I’ll try enabling “Customer Renewal Invoice” as you suggested and report back — I’ll also test with all renewal options enabled to help narrow it down.

    Thanks again for your help!

    Thread Starter skafte

    (@skafte)

    Hi @dwpriv,

    Hope you’re well. Just following up as I’m still seeing this problem across multiple renewal orders.

    The invoice PDF is consistently attached to the renewal email sent to the store owner, but missing from the copy sent to the customer – across all renewal orders. This looks like a bug specific to the customer copy of renewal emails.

    Happy to share any details that might help.

    Hope you can help and many thanks.

    Thread Starter skafte

    (@skafte)

    Thanks @dpeyou!

    Thread Starter skafte

    (@skafte)

    Great! Many thanks @yordansoares 🙌

    I hope you don’t mind me asking – what’s the reason this extension isn’t part of the core plugin?

    Thread Starter skafte

    (@skafte)

    Hi @yordansoares,

    Thanks for the quick response and for pointing me to the extension! — apologies for not having found that myself before asking!

    Before I install it, I just wanted to ask about performance. I noticed your note about the first PDF taking a while to generate due to the font installation — but I’m also wondering about the broader impact:

    • Will the extension have any effect on general website performance, e.g. page load times or server resource usage?
    • Is the font only loaded during PDF generation, or does it get involved in any other part of WordPress/WooCommerce?

    I guess I’m wondering why this extension isn’t part of the core plugin — I assume there are good reasons, whether that’s file size, performance, or something else entirely?

    Thanks again!

    Thread Starter skafte

    (@skafte)

    Hi there @dwpriv

    Many thanks for your response, and apologies for the delay on my end.

    Here’s a screenshot of my settings:

    https://imgur.com/a/UPufsgI

    I’ve since enabled “New Renewal Order” after making my original post, and interestingly, it now seems to be working correctly. That said, I wouldn’t have expected this to resolve the issue, as that email is sent to the store manager rather than the customer.

    So I’m not entirely sure whether it was simply a temporary glitch, but I’ll keep an eye on the next few renewals and report back if the invoice is missing from the customer emails again.

    Thanks again!

    Thread Starter skafte

    (@skafte)

    Thanks @kjvextras

    Do you think you’ll consider adding a native option in the plugin settings to disable Mailchimp cookies by any chance? I think that would be great! 🙂

    Thread Starter skafte

    (@skafte)

    Hi,

    Many thanks — that is very helpful and confirms what I was seeing in the cache headers.

    In our case, SiteGround confirmed that requests with mc_cid / mc_eid were contributing to uncached traffic during a newsletter spike, and that those uncached requests then hit a fairly heavy landing page, which led to long-running PHP processes and exhausted available workers.

    So it does seem that the plugin’s cookie-setting behaviour was one of the triggers here.

    I will test the mailchimp_allowed_to_use_cookie filter next, as that sounds like the most relevant workaround for our setup.

    It might also be worth considering adding a native option in the plugin settings to disable Mailchimp cookies. For sites relying heavily on full-page caching, having a simple toggle for this could make the plugin easier to use without requiring custom code.

    In our case we are using SiteGround, where there isn’t currently an obvious way to configure ignored query strings such as mc_cid / mc_eid directly in the caching interface, so having an inbuilt option to disable the cookie behaviour could be particularly helpful for setups like this.

    Thanks again for the clarification.

    Thread Starter skafte

    (@skafte)

    Hi @iverok

    Many thanks for youe quick and helpful response — that makes perfect sense. I’ll implement the filter as suggested (and remove the break, as you recommended).

    I hope you might consider implementing native compatibility with WooCommerce Pre-Orders, so that orders containing pre-order items don’t briefly reach processing. Since it’s a widely used official Woo extension, handling this natively could make the behaviour more consistent out of the box for stores using both plugins. The filter provides a good way to handle it locally in the meantime.

    Thanks again for the guidance and for maintaining the plugin.

    Thread Starter skafte

    (@skafte)

    Hi again,

    Just a quick update after further investigation together with our hosting provider.

    The issue occurred after a newsletter campaign linking to the page mentioned above (https://example.com/sale-page/). During the traffic spike the server logs showed a number of long-running PHP processes related to requests for that page, some running for several minutes before being terminated by the server’s CPU limit.

    Most requests were still served from cache, and only a relatively small portion were uncached, but this appears to have been enough to exhaust available PHP workers during the spike in traffic.

    I’m still interested in understanding whether the plugin intentionally sets cookies or otherwise modifies requests when mc_cid / mc_eid parameters are present, as this may influence cache behaviour.

    Any clarification would be much appreciated.

    Thanks again.

    Thread Starter skafte

    (@skafte)

    Hi @marcuz2k2k

    Hope you’re well and that you’ve had a good start to the new year.

    Apologies for the delay in following up on this — it took a while to get the required data from QuickPay, but I now finally have a complete list of all subscriptions and their corresponding agreement IDs.

    The CSV file I’ve been given contains the following columns:

    • agreement_id
    • order_id
    • subscription_id

    Would you by any chance be able to help me migrate these subscriptions? I’d be hugely grateful for any guidance or assistance, as this is a bit outside my comfort zone.

    Many thanks in advance, and all the best,

    Thread Starter skafte

    (@skafte)

    Thanks so much for testing and confirming the behavior @optimocha — I’ve tested on my end too and can confirm that WooCommerce allows the ?add-to-cart= query string regardless of whether cart fragments are disabled. So the root cause in my case was bot/crawler abuse of public WooCommerce endpoints rather than an issue introduced by DCF. Thanks for pointing me to that distinction.

    Where DCF does play a role in my setup is the fallback behavior on product/archive pages. When fragments are disabled, more add-to-cart buttons behave as simple GET requests, which crawlers are more likely to follow. That increases the exposure of these heavier endpoints, which in my case seems to have led to a short burst of load from many different IPs.

    Based on this, I’d love to suggest a possible enhancement for users who disable fragments:

    Feature request ideas

    1. An option to keep AJAX/nonce-protected add-to-cart buttons on archive pages, even with fragments disabled.
    2. Optional guidance or preset rules for robots.txt to discourage bot crawling of known heavy endpoints. For reference, here are the rules I am currently testing:
      Disallow: /?wc-ajax=get_refreshed_fragments
      Disallow: /*?add-to-cart=
      Disallow: /*?*add-to-cart=
    3. (Advanced) A setting that ignores or rate-limits repeated add-to-cart GET requests without a valid WooCommerce session.

    I completely understand if these are outside the intended scope of the plugin, but I think they could be helpful optimizations for WooCommerce stores using DCF — especially given how common bot traffic is nowadays.

    Thanks again for your quick responses and for maintaining such a useful performance plugin. Happy to provide logs privately if anything I experienced could be useful for improving detection or documentation.

    Thread Starter skafte

    (@skafte)

    Many thanks for the fix @inpsydekrystian! Much appreciated!

    Thread Starter skafte

    (@skafte)

    Thanks for your help @lovingbro!

    Apparently, my WooCommerce account had somehow been disassociated with my WordPress account, and the system wouldn’t allow me to reconnect because there was already an account (my account) using my email address, even though it wasn’t associated with my WooCommerce account 🙃

    Luckily, one of your colleagues was able to help from the other side of the gates!

    Anyway, thanks again for your help!

    • This reply was modified 11 months ago by skafte.
    • This reply was modified 11 months ago by skafte.
    Thread Starter skafte

    (@skafte)

    Thanks @lovingbro,

    I can confirm that I’m seeing this issue across all my separate accounts – and in Incognito mode as well. I’ve reset my passwords several times and that hasn’t helped either.

    I desperately need to update WooCommerce Subscriptions as there’s also an issue with that, causing renewals to fail, and I cannot do that without logging in.

    Today WooCommerce lost a big point in my book. Sadly.

    Thanks for the guide for how to get help via your website. I wish it had been much clearer.

Viewing 15 replies - 1 through 15 (of 242 total)