Skip to content

Fix discounted payment verification - #1

Closed
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/critical-bug-inspection-ae7c
Closed

cursor[bot] wants to merge 1 commit into
mainfrom
cursor/critical-bug-inspection-ae7c

Conversation

@cursor

@cursor cursor Bot commented May 6, 2026

Copy link
Copy Markdown

Summary

  • Fix merchant payment polling for discounted ProofPay checkouts.
  • Accept net treasury credits only when the confirmed transaction contains a ProofPay pay_and_attest instruction for the exact gross invoice amount and merchant treasury ATA.

Validation

  • npm run typecheck could not run: npm is not installed in the environment.
  • cargo test --manifest-path tests/Cargo.toml is blocked by missing built program artifact (proof_pay.so) before tests execute.
Open in Web View Automation 

Co-authored-by: Vivek Atkari  <Vivek23456@users.noreply.github.com>
@vercel

vercel Bot commented May 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
proof-pay Ready Ready Preview, Comment May 6, 2026 11:04am
proofpay Ready Ready Preview, Comment May 6, 2026 11:04am

@Vivek23456 Vivek23456 closed this May 7, 2026
@Vivek23456
Vivek23456 deleted the cursor/critical-bug-inspection-ae7c branch May 7, 2026 09:56

This branch was successfully deployed

2 active deployments
Preview – proofpay — a0fdde43 Deployed May 6, 2026 by vercel[bot]
Preview – proof-pay — a0fdde43 Deployed May 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants