• Resolved nikonoot

    (@nikonoot)


    Hi there,

    I’m using the invoice plugin and very happy with it. Tried to install it on the new website and there it doesn’t work, after using the wizard I could see the example invoice on the right. After saving not anymore…

    Now I get a message ‘ Document not available for order #xxxxxx try another order” and the plugin doesn’t send PDF and invoices.

    Packing slip does work if I want to print.

    Tried it but none worked. I tried the status page and all is green and properly installed also the folders are writable.

    Hope you have a tip?

    • This topic was modified 1 year, 10 months ago by nikonoot.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @nikonoot,

    The ‘Document not available’ message appears when the PDF document can’t be generated yet, because any condition disallow the document creation.

    It’s likely that this disabling is happening because you selected the order statuses in which you don’t want the PDF invoice to be created. You can check this under WooCommerce > PDF Invoices > Documents > Invoice > Disable for.

    For instance, if you have selected On hold, or Processing there, you will not be able to create the PDF invoice until the order reaches a different status, e.g. the Completed order status.

    Thread Starter nikonoot

    (@nikonoot)

    Thanks for your answer. It’s not that, I checked. This is the message I get:

    Class “DOMImplementation” not found

    However in my server php settings the DOM is enabled? My hosting provider can’t help me.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Could you send us a screenshot of your?System Configuration?and?Write Permissions, that you’ll find under?WooCommerce > PDF Invoices > Status?tab?

    Thread Starter nikonoot

    (@nikonoot)

    Thanks you, I think this is what you mean?
    Dom and soap php are installed on server but getting error message in woo status?

    • This reply was modified 1 year, 7 months ago by nikonoot.
    • This reply was modified 1 year, 7 months ago by nikonoot.
    Plugin Contributor Yordan Soares

    (@yordansoares)

    Thanks for sharing those screenshots, although it seems that they are part of the system status, but not from our plugin’s settings.

    Please go to WooCommerce > Status > System Status again, click on Get system report, then click on Copy for support, paste it on https://pastebin.com/ (set a paste expiration for one week, just in case), and finally paste the pastebin.com link in your reply here.

    Thread Starter nikonoot

    (@nikonoot)

    Thank you. Here is the link:

    https://pastebin.com/H6cLr5XQ

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Thanks for sharing your system configuration, @nikonoot!

    Definitively, you have to talk with your hosting provider for them to enable the DOMDocument extension. If they do not provide you with help on this, my recommendation is to switch to an other, more diligent provider.

    Thread Starter nikonoot

    (@nikonoot)

    If I check PHP, DOMdoc it is enabled on server…
    They keep telling me that’s not their fault. Been with them for very very long time so bit disappointing…
    Thanks for your time!
    Greetings!

    Plugin Contributor Yordan Soares

    (@yordansoares)

    If yours is a VPS, you might need to restart the server. If you are not able to do it, the hosting provider should do it. Hope you managed to activate it.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘PDF doesn’t generate message Document not available’ is closed to new replies.