public void OnTipAdjustAuthResponse(TipAdjustAuthResponse response)
{
if (response.Success)
{
POSOrder order = Store.GetOrder(response.PaymentId);
order.ModifyTipAmount(response.PaymentId, response.TipAmount);
}
else
{
uiThread.Send(delegate (object state) {
AlertForm.Show(this, response.Reason, response.Message);
}, null);
}
}