• Resolved philippze

    (@philippze)


    I had a funny error.

    The creation of PDF invoices worked great until I activated PayPal auto return.

    For virtual and downloadable products that means that immediately after making the payment at paypal the order will be marked as payed and finished, and the invoice will be created.

    In this special case, the logo in the PDF was missing.

    The error seems to happen in this line in includes/templates/invoices/simple/micro/header.php:

    $image_path = str_replace(get_site_url(), '..', $this->template_options['bewpi_company_logo']);

    When I instead hard-code the image path, everything will work.

    https://wordpress.org/plugins/woocommerce-pdf-invoices/

Viewing 1 replies (of 1 total)
  • Plugin Author Bas Elbers

    (@baaaaas)

    Thanks for your clear description. Can you post the complete return url when order has been paid and is getting generated? I will fix the problem right away. Sorry, been away for a while.

Viewing 1 replies (of 1 total)
  • The topic ‘Logo missing after PayPal auto return activated (downloadable, virtual)’ is closed to new replies.