Repository navigation
Conversation
The receipt example used an Ed25519Signature2020 proof, which verifyProof rejects with UnsupportedProofTypeError. Use a JwtProof2020 proof instead. The Verify Payment Details step listed six checks without saying which ones verifyPaymentReceipt performs. State that it checks the request token and the payment option, that the token is verified without its expiry, and that the metadata, request id and recency checks are the caller's. Refs agentcommercekit#264
|
No actionable comments were generated in the recent review. WalkthroughThe receipt verification documentation now uses a JWT proof example and describes which checks ChangesReceipt verification documentation
Estimated code review effort: 2 (Simple) | ~8 minutes Change: Other Possibly related issues
Merge Risk:
|
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
Updates the receipt verification guide to match the current implementation at
3db94d6.JwtProof2020, the proof type currently supported byverifyProof.verifyPaymentReceiptchecks and what the application must check separately. The verifier does not validate receipt metadata, enforce payment request expiration or accept an expected request ID.This follows the existing distinction between receipt verification and application-specific checks.
Fixes the documentation discrepancies reported in #264.
AI assistance: Claude Code helped compare the documentation with the implementation and prepare the edit. I reviewed the claims against
verify-proof.tsandverify-payment-receipt.tsat3db94d6.Documentation only. No runtime behavior changes.
Summary by CodeRabbit