You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 11, 2021. It is now read-only.
switch (e.Operacao)
{
case InfoVenda.SubTotal:
e.Valor = 0;
break;
case InfoVenda.EstadoVenda:
e.EstadoVenda = EstadoVenda.NaoFiscal;
break;
case InfoVenda.TotalAPagar:
e.Valor = 10;
break;
default:
throw new ArgumentOutOfRangeException();
}
E a chamada para CRT também ficou da mesma forma do ACBr.Net.TEF.Demo
tef.CRT(10, "1");
ao executar o CRT retorna a seguinte exceção :
Unhandled Exception: ACBr.Net.Core.ACBrException: Operação TEF deve ser limitada a Saldo restante a Pagar
at ACBr.Net.Core.Exceptions.Guard.Against[TException](Boolean assertion, String message, Action`1 beforeThowAction)
at ACBr.Net.TEF.TEFBase.VerificarTransacaoPagamento(Decimal valor)
at ACBr.Net.TEF.Gerenciadores.TEFCliSiTef.CRT(Decimal valor, String indicePagamento, String documentoVinculado, Int32 moeda)
Na operação subtotal, passando com o valor 10 também ocorre o mesmo erro.
Estou configurando de forma correta? Existe algum detalhe que estou deixando passar?