static string BuildMessage(PayoutErrorResponse errors)
        {
            PayoutResult payout = errors?.PayoutResult;

            if (payout != null)
            {
                return("declined payout '" + payout.Id + "' with status '" + payout.Status + "'");
            }
            return("the Ingenico ePayments platform returned a declined refund response");
        }
Example #2
0
        static string BuildMessage(PayoutErrorResponse errors)
        {
            PayoutResult payout = errors != null ? errors.PayoutResult : null;

            if (payout != null)
            {
                return("declined payout '" + payout.Id + "' with status '" + payout.Status + "'");
            }
            return("the GlobalCollect platform returned a declined refund response");
        }
 private void HandleDeclinedPayout(PayoutResult payoutResult)
 {
     // handle the result here
 }