How to fix PayPal error 589023September 28, 2012 PayPal
If you’re getting error 589023 If the fractional amount is rounded for currency conversion, funds could be lost when creating a PayPal Adaptive Payment, this means that the amount you requested is not rounded to the nearest cent.
Most likely you are applying some multiplier to get the amount (maybe a % fee), and you forgot to round it up. Like this:
(price * fee_multiplier).round(2)