«PayPal gateway has rejected request. The totals of the cart item amounts do not match order amounts» (2)

It is not a PayPal or Magento bug. It is your bug.
You should reread the message:

The totals of the cart item amounts do not match order amounts

PayPal does check these amounts, and if you do some hacks, you should match the total amount and the cart items amouts.