Repository navigation
Idea: an opt-in order reference with typo checks #1170
PerchAnton
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
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
EverShop's modular commerce setup is a possible home for a checkout extension that prints a reference on the confirmation and accepts it in order lookup.
Proposal
Try an extension that stores a separate public order reference and validates it before an authorized lookup. Existing order IDs and payment-provider identifiers would remain unchanged.
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