Example #1
0
        /// <summary>
        /// Approves of fails an offline/invoice order
        /// </summary>
        /// <param name="isFailed"></param>
        private void ProcessOrder(bool isFailed)
        {
            CommonActions commonActions = new CommonActions(Driver);

            commonActions.SignIn_in_admin_panel();
             commonActions.Authorize_the_first_payment();
            if (!isFailed)
            {
                commonActions.Approve_offline_payment();
            }
            else
            {
                commonActions.Fail_offline_payment();
            }
        }