Hi,
The points system uses the "additional data" system of HikaShop which allows a plugin to insert extra lines to the cart/order between the subtotal and the total.
PayPal doesn't offer the possibility to add such extra lines.
What we can try is to add them as item rows.
Try to add the code:
foreach($order->cart->additional as $product) {
if(empty($product->price_value)) continue;
$vars['item_name_' . $i] = substr(strip_tags($product->name), 0, 127);
$vars['item_number_' . $i] = 'order additional';
$vars['amount_'.$i] = round($product->price_value, (int)$this->currency->currency_locale['int_frac_digits']);
$vars['quantity_' . $i] = 1;
$i++;
}
before the line:
if(!empty($order->order_shipping_price) && bccomp($order->order_shipping_price, 0, 5)) {
in the file plugins/hikashoppayment/paypal/paypal.php and test it.
Let us know how it goes. If it works, we could include that by default in HikaShop.