Ir para conteúdo
  • Cadastre-se

datilas

Membros
  • Total de ítens

    571
  • Registro em

  • Última visita

  • Days Won

    2

datilas last won the day on 21 Agosto 2022

datilas had the most liked content!

1 Seguidor

Últimos Visitantes

5.018 visualizações

datilas's Achievements

  1. https://github.com/jorgeRjunior/somar-xml
  2. eu escrevi errado no post anterior, eu quis dizer "conseguiu" faltou o u.
  3. que bom que consegui.
  4. tente alterar essa linha para: Intent.setDataAndType(Uri, StringToJString('application/pdf')); //ou Intent.setDataAndType(Uri, StringToJString('application/octet-stream'));
  5. o acbr não tem componente para SNGPC. https://github.com/roneysousa/sngpc https://github.com/RonilsonRDG/integracao_anvisa_sngpc https://github.com/carloshteles/modelosSNGPC https://github.com/bragaped/TransmissorSNGPC
  6. não entendi muito bem mas: Procedure TForm1.MeuClick(Sender: TObject); Begin ShowMessage('meu click'); End; //* Procedure TForm1.Button1Click(Sender: TObject); Var btn: TButton; Begin btn := TButton.Create(Form1); btn.Name := 'btnRunTime'; btn.Caption := 'Click em run time'; btn.AutoSize := True; btn.Top := 0; btn.Left := 0; btn.Parent := Form1; btn.OnClick := MeuClick; End; talvez te ajude
  7. no momento que pede para retirar o cartão, não retirar e derrubar a aplicação. depois do ACBrTEFAPI1.Inicializar; vc pode chamar: ACBrTEFAPI1.CarregarRespostasPendentes; fazer um for em ACBrTEFAPI1.RespostasTEF e finalizar as transações pendentes como sucesso ou erro. ACBrTEFAPI1.FinalizarTransacao(tefstsSucessoManual); ou ACBrTEFAPI1.FinalizarTransacao(tefstsErroDiverso);
  8. segue o arquivo com os intents necessarios.AndroidManifest.template.xml nesse arquivo tem um trecho: <service android:name="br.com.setis.interfaceautomacao.ComunicacaoServico" android:exported="true" android:configChanges="orientation|screenSize"> <intent-filter> <action android:name="br.com.setis.interfaceautomacao.SERVICO"/> </intent-filter> </service> para o demo ser mostrado no "PGIntegrado-v4.1.27.13_CERT-signed.apk" como mostra a imagem abaixo. desde já agradeço a atenção.
  9. de antemão gostaria de agradecer o suporte... o core do ACBr me atendeu em um domingo.. @Daniel Simoes o fundador. me atendeu.. @Juliomar Marchetti uma das lendas.. muito obrigado.
  10. não funcionou. ja tinha esse... .... <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <intent-filter> <action android:name="br.com.setis.interfaceautomacao.SERVICO"/> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="app" android:host="payment" /> <data android:scheme="app" android:host="resolve" /> </intent-filter> manifest original... no demo ... <?xml version="1.0" encoding="utf-8"?> <!-- BEGIN_INCLUDE(manifest) --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="%package%" android:versionCode="%versionCode%" android:versionName="%versionName%" android:installLocation="%installLocation%"> <uses-sdk android:minSdkVersion="%minSdkVersion%" android:targetSdkVersion="%targetSdkVersion%" /> <%uses-permission%> <uses-feature android:glEsVersion="0x00020000" android:required="True"/> <application android:persistent="%persistent%" android:restoreAnyVersion="%restoreAnyVersion%" android:label="%label%" android:debuggable="%debuggable%" android:largeHeap="%largeHeap%" android:icon="%icon%" android:theme="%theme%" android:hardwareAccelerated="%hardwareAccelerated%" android:resizeableActivity="false"> <%provider%> <%application-meta-data%> <%uses-libraries%> <%services%> <!-- Our activity is a subclass of the built-in NativeActivity framework class. This will take care of integrating with our NDK code. --> <activity android:name="com.embarcadero.firemonkey.FMXNativeActivity" android:exported="true" android:label="%activityLabel%" android:configChanges="orientation|keyboard|keyboardHidden|screenSize" android:launchMode="singleTask"> <!-- Tell NativeActivity the name of our .so --> <meta-data android:name="android.app.lib_name" android:value="%libNameValue%" /> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <intent-filter> <action android:name="br.com.setis.interfaceautomacao.SERVICO"/> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="app" android:host="payment" /> <data android:scheme="app" android:host="resolve" /> </intent-filter> </activity> <%activity%> <%receivers%> </application> </manifest> <!-- END_INCLUDE(manifest) -->
  11. Obrigado
  12. Vou testar muito obrigado
  13. Estou usando manifest que está no demo, sem alterações. Mas poderia especificar quais tags preciso colocar no manifest?
  14. eRRO: Ação br.com.setis.payment.TRANSACTION não encontrada. AMBIENTE: Android 13 (Moto Edge 20 pro) Paygo Kit-PayGo-Android-v4.1.27.13 Pin-Pad: Gertec MP5 apk PGIntegrado-v4.1.27.13_CERT-signed.apk acbr: rev: 35712 Delphi 12.2 (RAD Studio 12 Version 29.0.53571.9782) (Athens) WINDOWS 11 OBS: Usando PDVS que veio junto com o Kit-PayGo-Android Funciona perfeitamente Usando o ACBrTEFAndroid que esta em: ..\Exemplos\ACBrTEFD\Android\TEFDemoAndroid.dproj acontece o erro abaixo. LOG: DesInicializar TACBrTEFPGWebAndroid.DesInicializar Inicializar TACBrTEFPGWebAndroid.Inicializar VerificarTransacoesPendentes EfetuarPagamento( 154637, 1,00, tefmpCartao, tefmfAVista, [ teftcDebito ] ) TACBrTEFPGWebAndroid.AdicionarDadosObrigatorios TACBrTEFPGWebAndroid.IniciarTransacao URI: app://payment/input?operation=VENDA&transactionId=154637&amount=100&currencyCode=986&cardType=CARTAO_DEBITO&finType=A_VISTA&paymentMode=PAGAMENTO_CARTAO&fiscalDocument=154637&aditionalPosData4=ACBrTEFPGWebAndroid%200.1.0 DadosAutomacao: app://payment/posData?posName=THOR%20MOBILE&posVersion=1&posDeveloper=THOR%20SISTEMAS&allowCashback=false&allowDiscount=true&allowDifferentReceipts=true&allowShortReceipt=false&allowDueAmount=false Personalizacao: app://payment/posCustomization package: br.com.projetoacbr.TEFDemoAndroid integracaoDireta: true EACBrTEFPayGoWeb: Ação br.com.setis.payment.TRANSACTION não encontrada. DesInicializar TACBrTEFPGWebAndroid.DesInicializar como posso resolver?
  15. nesse caso não tem codigo de retorno pois o erro foi na validação ou seja ainda não foi enviado para sefaz. só existe código de retorno quando o xml vai para sefaz. o erro de validação é um erro local, quando o xml não condiz com os schemas. para pegar o retorno quando tentar enviar vc pode usar: ACBrNFe1.WebServices.Enviar.cStat; ACBrNFe1.WebServices.Enviar.xMotivo; mas se vc ja tem um xml "enviado" vc pode ler em: ACBrNFe1.NotasFiscais[0].NFe.procNFe.cStat; ACBrNFe1.NotasFiscais[0].NFe.procNFe.xMotivo;
×
×
  • Criar Novo...

Informação Importante

Colocamos cookies em seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies, caso contrário, assumiremos que você está bem para continuar.