Idea: an offline checked reference on customer receipts #1386
PerchAnton
started this conversation in
Ideas
Replies: 1 comment 1 reply
|
Thanks for sharing the proposal! FloCafe already supports local order lookup using existing order numbers, so we don’t see a clear need for an additional reference format at this time. We’d prefer to keep the current approach unless a specific use case calls for a change. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I maintain RefMint, a TypeScript library for public references with a type prefix and a Bech32m checksum.
Use case
FloCafe stores orders locally and prints receipts. A customer returning with a receipt could read a separate reference to locate the order without a network service.
Proposal
Discuss an optional RefMint receipt field and local lookup validator. Keep fiscal numbering, order numbers and kitchen workflow unchanged, and test receipt width and readability before adopting the longer code.
Trade-offs and current status
The first alpha is available as a GitHub package archive, not on npm. It targets Node 22+ and Web Crypto browsers, with no runtime dependencies. The format may change and adds six checksum characters. A checksum is not authorization. Keeping the current reference format is a valid alternative.
I checked the released package (generation, formatting, parsing and typo rejection); I have not tested an integration here or measured a benefit for your users. Would this optional workflow be useful, or is the current approach sufficient?
All reactions