Logo missing after PayPal auto return activated (downloadable, virtual)
-
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.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Logo missing after PayPal auto return activated (downloadable, virtual)’ is closed to new replies.