Support » Plugin: YITH WooCommerce PDF Invoice and Shipping List » Invoice can’t be downloaded

  • Hi,
    It’s not possible to download invoice or shipping list. After clicking on download the browser starts to work and then nothing happens.
    I’m using the latest version of the plugin, WooCommerce and Bazar theme.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi,
    we tried on our side and it worked as expected, maybe there is some error thrown during the generation of the invoice.
    Please enable the debug mode(https://codex.wordpress.org/WP_DEBUG) and check for any errors.

    No errors occur. Invoice is generated but it can’t be downloaded (nothing happens).

    Plugin Author YITHEMES

    (@yithemes)

    It’s hard to guess what’s happening if no errors are thrown, try updating to the latest version released.

    The same problem here.
    In local environment everything is ok.
    On the online server can’t download the pdf from the admin panel.
    The user, from my account page, yes, no problem.

    • This reply was modified 3 years, 1 month ago by somtam.

    I think I found a clue.

    When from the “admin shop order page” I click the icon to download an invoice, if I look the header of the request, I get this:

    Request URL:https://xxxx/wpf/wp-admin/edit.php?post_type=shop_order&view-invoice=xxxxx&check=xxxxx
    Request Method:GET
    Status Code:302 
    Remote Address:xxxxxxxx
    Referrer Policy:no-referrer-when-downgrade

    Instead from the local environment there is the usual 200 OK.

    Now we have to understand why it returns a 302.
    Possible for the https protocol?
    Some permission settings?

    Let me know if I can help somehow.

    Plugin Author YITHEMES

    (@yithemes)

    Hi,
    after performing the requested operation, the plugin does a redirection to the same page, this is the reason you see a 302 status code, but you should see a valid POST operation before it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Invoice can’t be downloaded’ is closed to new replies.