WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Please Help! Woocommerce will not add download links after purchases. (16 posts)

  1. BrandDedication
    Member
    Posted 6 months ago #

    Hello,

    First, I understand Woocommerce quite a bit. And I don' think I am missing anything in my Woocommerce setup. But hopefully you can find it in your heart to help me figure out why when a purchase is made that after purchase the downloadable links are not generated. They are not generated to the buyer's account nor are they added to the automated invoice email. So, in the meantime I am having to respond to my client's customers manually with download links I have had to create manually through a 3rd party plugin to keep the URLs hidden.

    Here is my Woocommere troubleshooting and settings breakdown.

    All the details of the invoice are correct and the details of the purchase in the buyer's account. The only thing missing is the downloadable links.

    Now, these files some are fairly large audios, but I built this mockup site for my client prior and everything worked fine. I've also tested even a small pdf document to be downloadable after purchase and I still get nothing after purchase, no downloadable link.

    My product data settings are:
    "Simple Product" > Virtual (Checked) > Downloadable (Checked).

    I've used the default "Choose File" method to input my downloadable products.

    From there in troubleshooting I've tried, Woocommerce's download options such as mod_xsendfile and redirect only. I'm already using the Force Downloads option. None of these above methods has resulted in any difference.

    From there I've searched online for solutions and came to nothing. My Woocommerce .htaccess is fine, which is "deny from all" and that is it.

    From there I troubleshooted down every plugin that would maybe make a difference in affecting Woocommerce.

    From there I have finally deactivated every single plugin on my testing site for this and only have Woocommerce active.

    I still get the same problem.

    The hosting account is HostGator and when I built the mockup site for this client, everything worked fine on the same hosting as well.

    PLEASE HELP!

    http://wordpress.org/plugins/woocommerce/

  2. littlebizonline
    Member
    Posted 5 months ago #

    Hi - I am having the same problem... client receives email, but there are no links to the downloads anywhere. Did you happen to find a solution?
    Thanks

  3. BrandDedication
    Member
    Posted 5 months ago #

    Hey littlebizonline, actually yes! I'm hoping you had the same problem as me though so this will be the fix.

    My problem was that I changed my database prefix from "wp_" to "Something_Different_Here_".

    Did you happen to do that?

    If so the Change DB Prefix may help. You can use it to change your database prefix.

    This helped on the fly for the trouble shooting store I created, but it did not help on the fly for the actual store. So, I built the store the same way as on my client's site but with the original database prefix and EVERYTHING works smoothly!

    Let me know if that helps!

  4. telecreate
    Member
    Posted 5 months ago #

    Hi noahjnet, I'm having similar issues and took your advice of changing the database prefix to the original "wp_". For some reason, the forced download is still not working; did you have to completely re-install woocommerce in order for it to work?

    Thank you, I look forward to any suggestions that can help.

  5. BrandDedication
    Member
    Posted 5 months ago #

    Hi @satoriassecret.

    1. How did you go about changing the database prefix?

    To answer your question, yes and no.

    Changing the database prefix worked for one installation on the fly. However, on another installation changing the database prefix didn't work.

    On the installation that didn't work, there were more store items and product variations, etc. I'm not sure if those things came into play because I did recreate the site from almost scratch as to spare the time of figuring it out, instead of implementing a solution. Woocommerce is supposed to work with any database prefix, so this problem had to be a series of things (plugins) I suppose. We never got around to further testing this problem.

    Feel free to message anything back and you will get a response in a timely fashion.

    Thanks @satoriassecret,
    Noahj

    //Side Note- Is your personal website SatoriasSecret.com? If so, great deal on the 2Pac shirts. Always a die hard, revolutionary fan.

  6. telecreate
    Member
    Posted 5 months ago #

    @noahjnet I installed the Change DB Prefix plugin that you mentioned before.

    Okay then, I might have to do the same and/or disable some plugins to see if that's the issue. I thank you for all of your help! I tried woocommerce support but I had no idea they were so strict with contacting them :/

    Also, yes that's my personal site :) I just decided to transfer it to another server so it's down for now. But thanks so much I appreciate that; I'm a big fan as well if you couldn't already tell lol.

  7. telecreate
    Member
    Posted 5 months ago #

    @noahjnet I installed the Change DB Prefix plugin that you mentioned before.

    Okay then, I might have to do the same and/or disable some plugins to see if that's the issue. I thank you for all of your help! I tried woocommerce support but I had no idea they were so strict with contacting them :/

    Also, yes that's my personal site :) I just decided to transfer it to another server so it's down for now. But thanks so much I appreciate that; I'm a big fan as well if you couldn't already tell lol.

  8. hapke
    Member
    Posted 1 month ago #

    The same procedure like @BrandDedication and the same problem: no download link at all.
    I will not change the prefix, the reason for the error must be anything else, but what? I did not find a solution in the Woocommerce docs, support is not available for a free plugin. Really frustrating!

  9. telecreate
    Member
    Posted 1 month ago #

    @hapke @littlebizonline To fix this issue without changing the prefix, you can download a plugin called WooCommerce Autocomplete Order.

    Here's the link: http://wordpress.org/plugins/woocommerce-autocomplete-order/

  10. Brand Dedication
    Member
    Posted 1 month ago #

    @hapke @littlebizonline @telecreate

    Hi, that is good to hear that the plugin WooCommerce Autocomplete Order will fix the problem.

    As @hapke said the reason is anything else but the table prefix (or should be). I'm not exactly sure. I didn't get to it in this thread or this happened after, but a call to the host WPEngine reported errors. It was something along the lines of failed to drop table ...

    So, it could still be a database problem, even though it shouldn't be because Woocommerce allows for changed database prefixes. @mikejolley said that, which I expected.

  11. Brand Dedication
    Member
    Posted 1 month ago #

    If that plugin works, it sounds like the orders weren't actually completing all the way through then? Like the order would complete as far as the purchase and email but not as far as to trigger the download links.

  12. hapke
    Member
    Posted 1 month ago #

    Die plugin is active, but doen't solve the problem. As @Brand Dedication said, orders weren't actually completing. In the backend the status is pending and waiting for manually creating the download link.
    We should compare our setting. My settings are

    • General:
      - REST-API => active
      - Lightbox => active
    • Products:
      - download method: force downloads => active
      - downloads require login =>not acive (also tested it as => active)
      - access to downloadable products after payment => active

    What else can we do to get it to work?

  13. Brand Dedication
    Member
    Posted 1 month ago #

    HI @hapke,

    This may or may not be a factor. The size of the download and the php memory allowed by the hosting environment. All these downloads I had were fairly large audios. Actually one way that helped was moving those files to Amazon.

    Did or can also try different settings for ?
    > Products > download method >

    I'm betting you may know this though because of your time using WordPress. There is an "i" bubble next to those settings that say something about problems serving downloads.

  14. YikesPleaseHelp
    Member
    Posted 6 days ago #

    I'm having the same problem - I also updated the plugin. Was hoping that someone had a solution for this.

  15. Brand Dedication
    Member
    Posted 6 days ago #

    Hi YikesPleaseHelp,

    Hopefully you will hear back from one of the members here and or in any event you will have to try some of the solutions we've mentioned. Or hire help perhaps.

    Sorry I can't be of a one solution help as I would like because I took the rebuild route instead of waiting for an answer.

    If you have a database syncing tool for your websites, it will make the rebuild process much much easier. Just when you sync the database to a dev testing site just delete the Woocommerce databases and plugin completely, then start over with the products importing the xml file from the live site.

    This is a sucky sucky horrible thing! Hopefully @hapke figured something out.

  16. YikesPleaseHelp
    Member
    Posted 6 days ago #

    Thanks I will keep looking for a solution!

Reply

You must log in to post.

About this Plugin

About this Topic