Improve indentation of closure function
Correct validation check for refund items amount
Accept both "refunded" and "refunded" pending statuses from PayPal AdaptivePayments Refund API as successful