Skip to content

Expose verified cloud delivery for mobile receipts - #1043

Merged
sridharkalaibala merged 4 commits into
developfrom
codex/mobile-cloud-delivery
Sep 30, 2026
Merged

sridharkalaibala merged 4 commits into
developfrom
codex/mobile-cloud-delivery

Conversation

@sridharkalaibala

Copy link
Copy Markdown
Contributor

Mobile receipts now distinguish local server acceptance from explicit downstream cloud delivery. A new authenticated status endpoint returns evidence only when the signed sync component has recorded a matching gateway receipt for the exact transaction, server sale, branch, license, staff and issuing phone. Community installations and older components remain server-only.

This read-only path never resubmits a sale or treats an empty outbox as cloud success. Cloud receipt evidence and component capability records stay local; ordinary sale/stock synchronization remains unchanged. Gateway protocol support is in Posnic/Gateway#30.

Validation: 11,569 API tests passed (13 existing skips), 3,631 desktop tests passed (5 existing skips), and all 22 real-database/mobile integration cases passed. The live mobile UI test observes the cloud label from matching evidence. Isolation tests reject foreign devices/users, wrong branches and wrong receipt IDs. API docs, targeted lint and attribution checks pass.

@sridharkalaibala
sridharkalaibala merged commit 20ef126 into develop Sep 30, 2026
9 of 10 checks passed
@github-actions github-actions Bot added the ready for QA Merged to develop and live on develop.posnic.io - anyone can test it label Sep 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Merged to develop. Anyone can test this - you do not need write access.

Try it at https://develop.posnic.io, or run it yourself:

git fetch origin develop && git checkout develop
npm install && npm --prefix api install
npm run dev   # then http://localhost:3000

When you have tested it, say what you did and what happened, and set
QA passed or QA failed. If you cannot set labels, just comment -
a maintainer will.

Reporting that something is broken is as useful as fixing it. It is
better found here than by a shopkeeper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for QA Merged to develop and live on develop.posnic.io - anyone can test it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant