edigomes / download-nfe-sefaz Goto Github PK
View Code? Open in Web Editor NEWAPI Para download de XML da NF-e direto pelo site da secretária da fazenda usando cURL
License: GNU General Public License v3.0
API Para download de XML da NF-e direto pelo site da secretária da fazenda usando cURL
License: GNU General Public License v3.0
Quando vou fazer o download da esse erro sabe me auxiliar?
could not load PEM client certificate, OpenSSL error error:02001002:system library:fopen:No such file or directory, (no key found, wrong pass phrase, or wrong file format?)
só que eu passo tudo certo e não ta indo.
Aparentemente o site do governo mudou a tag abaixo, removeu o atributo styles. O codigo abaixo nao estava conseguindo pegar o conteudo de 'src'
preg_match('~<img id=\"ctl00_ContentPlaceHolder1_imgCaptcha\" src=\"(.*)\" style~', $html, $_captcha);
Fiz um ajuste e voltou a funcionar:
preg_match('~<img id=\"ctl00_ContentPlaceHolder1_imgCaptcha\" src=\"(.*)\" ~', $html, $_captcha);
Notice: Trying to get property of non-object in C:\xampp\htdocs\PROJETOS\downloadnfe\vendor\edigomes\download-nfe-sefaz\src\DownloadNFeSefaz.php on line 196
Fatal error: Uncaught exception 'Exception' in C:\xampp\htdocs\PROJETOS\downloadnfe\vendor\edigomes\download-nfe-sefaz\src\DownloadNFeSefaz.php:197 Stack trace: #0 C:\xampp\htdocs\PROJETOS\downloadnfe\download_xml.php(30): DownloadNFeSefaz\DownloadNFeSefaz->downloadXmlSefaz('wawxrf', '431704027234860...', '02723486000111', './pasta_do_cert...', 'Ps1234') #1 {main} thrown in C:\xampp\htdocs\PROJETOS\downloadnfe\vendor\edigomes\download-nfe-sefaz\src\DownloadNFeSefaz.php on line 197
Alguma dica do que pode ser?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.