Example #1
0
        protected void btnCashRefund_Click(object sender, EventArgs e)
        {
            var amount = ParseMoney(CashAmount.Text);

            if (!RefundAmountValidate(amount))
            {
                ucMessageBox.ShowWarning("Refund amount should be less then order charged amount.");
                return;
            }

            ShowTransaction(PayManager.CashRefund(amount, RmaId));
        }
Example #2
0
        protected void btnCashRefund_Click(object sender, EventArgs e)
        {
            var amount = ParseMoney(CashAmount.Text);

            if (!RefundAmountValidate(amount))
            {
                ucMessageBox.ShowWarning(Localization.GetString("RefundAmountError"));
                return;
            }

            ShowTransaction(PayManager.CashRefund(amount, RmaId));
        }