grizwako / fiskalizator_php Goto Github PK
View Code? Open in Web Editor NEWPure PHP implementation of Croatian Fiscalization protocol
License: MIT License
Pure PHP implementation of Croatian Fiscalization protocol
License: MIT License
$conn = curl_init(); to je line 38..nije mi jasno što misli da je nedefinirano? WAMP server PHP 5.4.3 64 bitni..i openssl i curl ekstenzije aktivne
Spremanje kompletnog requesta i responsea u property-e.
Mogucnost auto spremanja u file.
Vrsta je direktorij (Poslovni_prostor|Racun)
Na kraj filenamea(prije ekstenzije) ide request|response.
Filename mogucnosti:
IdPoruke
Vrijeme do mikrosekunde 2013-01-12_14:14:43_123456.xml
Za racune normaliziran broj racuna? Izbaciti sve sto nije alphanumeric i onda rez kao filename.
Napraviti dir certificates, te u njega stavit certificate. Mislim da ne treba subdirove radit, samo nomenklaturu uvesti nestocert_demo ili nestocest_prod. Koristit dirname(FILE) ili nesto slicno za loadanje certova.
IdPoruke mora biti isti u Requestu i Responseu.
Provjeriti Signature u odgovoru od porezne, koristiti fiskalcis.crt za pravo okruzenje, te fiskalcistest.crt za testno okruzenje.
Konfigurabilni sleep time izmedju retry-eva, i broj retry-eva.
Trenutno ako zki postoji u xmlu, mi ga ne kreiramo, te ga se ne moze ocitati (korisnik vec zna koji je zki).
Bilo bi korisno imati funkciju getZKI koja ce xpathom nabavit ZKI iz request-a.
Prije ovog taska srediti spremanje responsea i requesta tako da postoje u nekim varijablama.
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.