Hi,
The PDF invoice does display the user points used for the payment like in the backend invoice on my end.
It's done thanks to the code:
if(!empty($order->additional)) {
$exclude_additionnal = explode(',', $config->get('order_additional_hide', ''));
foreach($order->additional as $additional) {
if(in_array(@$additional->name, $exclude_additionnal)) continue;
echo '<tr><td colspan="3" class="newarea">'. JText::_($additional->order_product_name).'</td><td class="price">';
if(!empty($additional->order_product_price) || empty($additionaltionnal->order_product_options)) {
if($config->get('price_with_tax')){
echo $currencyHelper->format($additional->order_product_price+@$additional->order_product_tax, $order->order_currency_id);
}else{
echo $currencyHelper->format($additional->order_product_price, $order->order_currency_id);
}
} else {
echo $additional->order_product_options;
}
echo '</td></tr>';
}
}
in the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php
So make sure that you have that code in your PDF invoice file. If you do then either we're talking about something else or you're in a particular case where it's not working properly. So please provide a screenshot of the PDF invoice and of the backend invoice so that we can see the difference.
Regarding the collected amount of points, you should be able to find them in the variable $order->order_payment_params->userpoints->earn_points in that file. so you could just echo it there.