Comments (2)
Hello,
I checked your problem, and everything is fine. I have version 4.1.
Null values or blank values are not sent.
For testing I used the code:
use FilipSedivy\EET;
$receipt = new EET\Receipt;
$receipt->uuid_zpravy = \Ramsey\Uuid\Uuid::uuid4()->toString();
$receipt->id_provoz = '11';
$receipt->id_pokl = 'IP105';
$receipt->dic_popl = 'CZ00000019';
$receipt->porad_cis = '1';
$receipt->dat_trzby = new \DateTime;
$receipt->celk_trzba = 500;
$path = __DIR__ . '/vendor/filipsedivy/php-eet/tests/data/EET_CA1_Playground-CZ00000019.p12';
$certificate = new EET\Certificate($path, 'eet');
$dispatcher = new EET\Dispatcher($certificate, EET\Dispatcher::PLAYGROUND_SERVICE);
$dispatcher->test($receipt);
The assembled XML then looks like this:
<SOAP-ENV:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="pfx255be850-8b54-aec0-63de-0d623ba01540">
<ns1:Trzba>
<ns1:Hlavicka uuid_zpravy="281dcfb6-74c0-4e9d-ac46-3c38c62ddbfe" dat_odesl="2020-02-06T22:27:58+01:00" prvni_zaslani="true" overeni="true"/>
<ns1:Data dic_popl="CZ00000019" id_provoz="11" id_pokl="IP105" porad_cis="1" dat_trzby="2020-02-06T21:27:58+00:00" celk_trzba="500.00" rezim="0"/>
</ns1:Trzba>
</SOAP-ENV:Body>
from php-eet.
Thank you, I will test too in 4.1.
from php-eet.
Related Issues (20)
- nulove danove polozky HOT 10
- Nalezené problémy (SSL zabezpečení, varování) HOT 3
- Chyba po přepnutí do produkčního prostředí HOT 1
- Test ticket from Code Climate
- Certifikat se nepodarilo vyexportovat HOT 5
- Sestavení zprávy pro opětovné odeslání tržby HOT 5
- curl hlavicky HOT 2
- Chyba - Instalace bez composeru pomocí souboru HOT 4
- Ověření při instalaci HOT 1
- Test ticket from Code Climate
- Opakované zaslání tržby HOT 7
- Pokrytí offline platby testy HOT 1
- Storno HOT 1
- composer verze 3.0.1 x 3.1.0 HOT 5
- Vymena certifikatu HOT 4
- Chybná hodnota PKP HOT 15
- HELP: Jak vygenerovat certifikát pro testovací EET server? HOT 3
- Inquiry for cooperation
- podpora php 8.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-eet.