• Resolved pepin0x

    (@pepin0x)


    Hello. I’ve a shop with digital products. Sometimes the customer doesn’t have a download link in the completed order email. It doesn’t happen always, its random.

    Here is an example:
    https://i.ibb.co/WgxnNFC/image.png

    My table woocommerce_downloadable_product_permissions is not missing, as I said, this happens randomly. Sometimes the customer gets the link inside the email and sometimes it doesnt.

    Thanks for help.
    Greets.

    • This topic was modified 2 years, 6 months ago by pepin0x.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @pepin0x,

    Do you remember making any changes to the site right before this started happening? Any plugin updates or installs? It’s possible that this is being caused by a plugin conflict, but it would be difficult to test if you cannot reproduce it consistently.

    On the order admin page can you see the digital file listed under Downloadable product permissions?

    The key is to gather more information and see how you can reproduce this. Once that can consistently happen, it will be easier to track down the culprit.

    Cheers.

    Thread Starter pepin0x

    (@pepin0x)

    Sadly I don’t know when this started to happen. I update plugins regular basis by myself. I recreated the same purchase now using a coupon and I’ve got the download links in the mail.

    About download permissions, yes, I can see the permissions in the order (the one with no links inside the email). I also have an order 3 hours before the “failed one” showing download links (different product, but it doesn’t matter because the last failed one was ok in previus orders and also ok in the order I generated a few mins ago ).

    I know this is almost impossible to fix without being able to reproduce the problem. I just was trying some luck becauser I’ve seen older posts with the same problem. Thanks.

    Mirko P.

    (@rainfallnixfig)

    Hi @pepin0x,

    Thank you for the additional details.

    Can you check if there are any error logs at the time/date when the completed order notification was sent to the customer?

    To find the generated logs:

    1. Go to WooCommerce > Status > Logs
    2. In the top right corner, open the drop-down and select the fatal error log, then click view to load it. Here’s what that looks like:

    https://d.pr/i/tCljQd

    3. Copy/paste the log into your response on this thread.

    Could you please also share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.

    Cheers.

    Thread Starter pepin0x

    (@pepin0x)

    Hi.
    I have some errors about variable products (I believe) but they are from 1 month ago, not related with purchases:
    Woocommerce Logs

    System Report

    Cheers.

    • This reply was modified 2 years, 6 months ago by pepin0x. Reason: fix links
    Plugin Support Paulo P – a11n

    (@paulostp)

    Hello,

    Thanks for sharing the information.

    By looking at the system report, I see some elements that need updating:

    • WC Version: 6.3.1 – current is 6.4.1
    • MySQL Version: 5.5.5-10.3.32-MariaDB5.6 or above is required
    • WC Database Version: 6.3.0 – this should match the latest WooCommerce version

    Let us know how it goes.

    Thread Starter pepin0x

    (@pepin0x)

    Hello Paulo. Thanks for your time.

    About Wc version, 6.3.1 is from 2022-03-10. Right now I’m not sure if my problem is before the date or not. I’ll review the WC changelog to check It doesn’t break my custom code and then update it. Maybe this is the problem, I’m not really convinced but I need to try ??

    About my MariaDB, version is 10.3.32, minimum for WC is 10.1 as your link says. This is not the problem. 5.6 or above is for MySQL, but I don’t use MySQL (I use MariaDB).

    Thanks. I’ll let you know if I get the problem again. Meanwhile, I’ll mark as resolved because it could take weeks/months until I get the error again if not fixed.

    Thanks for everything, greets!

    Mirko P.

    (@rainfallnixfig)

    Hi @pepin0x,

    Thank you for getting back to us.

    Aside from updating WooCommerce core and matching the WC database version which is always a good idea, make sure to update all your other plugins as well.

    We do highly recommend a staging site for running these updates and testing so that your live site remains unaffected. A staging site is a clone or copy of the live site. Some hosts offer Staging sites, but if you don’t have such a feature, you can create one with the WP Staging plugin.

    I’ve also seen your site is hosted on an NGINX server so it’s best to follow the advice here for better security and avoid issues.

    If you have any more questions let us know! ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Completed order email (randomly) doesnt contain download link’ is closed to new replies.