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

See how is the «Transfer Cart Line Items» PayPal option implemented.
You can disable this option or change it behaviour.