Skip to content

#632 Improve error handling for Epson printer#652

Open
diego-santinelli-hrm wants to merge 2 commits intofiskaltrust:mainfrom
diego-santinelli-hrm:#632_Improve_error_handling_for_Epson_RT_Printer
Open

#632 Improve error handling for Epson printer#652
diego-santinelli-hrm wants to merge 2 commits intofiskaltrust:mainfrom
diego-santinelli-hrm:#632_Improve_error_handling_for_Epson_RT_Printer

Conversation

@diego-santinelli-hrm
Copy link
Copy Markdown

Maintain an in-memory cache of the last confirmed fiscal doc (Z/Doc number). On network timeout, query the printer's last emitted doc and compare against the cache: if advanced, synthesize the response without retrying. Falls back to amount-matching when no cache is available (first receipt after startup).

#632

Maintain an in-memory cache of the last confirmed fiscal doc (Z/Doc number).
On network timeout, query the printer's last emitted doc and compare against the cache: if advanced, synthesize the response without retrying.
Falls back to amount-matching when no cache is available (first receipt after startup).
@github-actions github-actions bot added market-it Related to the italian market scu-it-epsonrtprinter Related to the italian EpsonRTPrinter SCU labels Mar 31, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 31, 2026

✅ CLA Signed

All contributors have signed the CLA. Thank you!

@diego-santinelli-hrm
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@diego-santinelli-hrm diego-santinelli-hrm requested a review from a team as a code owner April 2, 2026 12:26
@accodev accodev added meta-no-issue This PR does not need to have a linked issue category-bug Something isn't working labels Apr 7, 2026
@volllly volllly added this to the v1.3.83 milestone Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category-bug Something isn't working market-it Related to the italian market meta-no-issue This PR does not need to have a linked issue scu-it-epsonrtprinter Related to the italian EpsonRTPrinter SCU

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants