Hi,
I figured out that it's something to do with tep_image
I made the following replacements, and I get barcodes! I'm not familiar enough with PHP or OSC to figure out why, although we are running PHP5:
Checkout_success.php
Replaced:
echo '<p align="center"><a href="'.tep_href_link(FILENAME_PAYOFFLINEPRO_PAYSLIP, 'oid='.$payofflinepro['oid'], 'SSL').'" target="_new">'.tep_image($payofflinepro['BarcodeURL'], 'PayOffline Barcode').'</a></p>';
with:
echo '<p align="center"><a href="'.tep_href_link(FILENAME_PAYOFFLINEPRO_PAYSLIP, 'oid='.$payofflinepro['oid'], 'SSL').'" target="_new">'."<img src='$payofflinepro[barcodeURL]' alt= 'PayOffline Barcode'>".'</a></p>';
And in Payofflinepro_payslip.php
echo '<p align="center">'.tep_image($details['BarcodeURL'], 'PayOffline Barcode').'</p>';
with:
echo "<center> <img src='$details[barcodeURL]' alt='PayOffline Barcode here'> </centre>";