ESDEV-2195 Fix PayPal related bugs
ESDEV-2394 0005726: PayPal Extension throws error message "The totals of the cart item amounts do not match order amounts"

Adding primary implementation.