Topic: Problems Displaying QR Code in the footer
I cant display a QR image in the Footer. I tried the $Footer[] array but I seams that It only displays text. I generate the QR from the URL in doctext.inc
if (@$this->formData['payment_service']) //payment link
{
$amt = number_format($this->formData["ov_freight"] + $this->formData["ov_gst"] + $this->formData["ov_amount"], user_price_dec());
$service = $this->formData['payment_service'];
$url = payment_link($service, array(
'company_email' => $this->company['email'],
'amount' => $amt,
'currency' => $this->formData['curr_code'],
'comment' => $this->title . " " . $this->formData['reference'],
'invoice' => $this->formData['reference']
));
$Footer[_("You can pay through"). " $service: "] = "$url";
QRcode::png($url, $tempDir.'030.png', QR_ECLEVEL_L, 3);
}