fix(payments): point T01 signing error at the WalletHub per-wallet grant#1670
Closed
fahadfa-aws wants to merge 1 commit into
Closed
fix(payments): point T01 signing error at the WalletHub per-wallet grant#1670fahadfa-aws wants to merge 1 commit into
fahadfa-aws wants to merge 1 commit into
Conversation
The "Agent gets 402 but payment fails" troubleshooting entry only
mentioned enabling project-level Delegated Signing in the CDP Portal.
That toggle is necessary but not sufficient — Coinbase CDP also
requires a per-wallet grant from the WalletHub redirectUrl returned
by CreatePaymentInstrument. The runtime error
("Delegated signing grant is not active for the end user wallet.
Please redirect end user to the WalletHub to grant the permissions")
explicitly names this second step, but the README didn't.
Update the entry to lead with the verbatim error string, then walk
through both layers of the CDP signing grant. Privy variant is
unchanged because it was already correct.
Author
|
@mvangara10 — flagging this for your review when you have a moment. Tagged across the full set of payments-tutorial fixes I've been pushing today; happy to walk through any of them. Audit logs and test evidence are referenced in the PR description. |
Author
|
Superseded by #1738 (consolidated PR) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
The Tutorial 01 README troubleshooting entry titled "Agent gets 402 but payment fails" pointed only at enabling Delegated Signing in the CDP Portal. That toggle is project-level and necessary but not sufficient — Coinbase CDP also requires a per-wallet grant via the WalletHub
redirectUrlreturned byCreatePaymentInstrument. The runtime error a user actually sees isDelegated signing grant is not active for the end user wallet. Please redirect end user to the WalletHub to grant the permissions, which explicitly names the second step. The README did not.The Tutorial 00 README at lines 144-150 already documents both layers in its "Funding and Delegated Signing" table. T01 troubleshooting is where users land when ProcessPayment fails, so the per-wallet grant needs to be there too.
Changes
Docs only. No code change.
Verification
us-west-2and captured inT01a_strands_first_run.log:1.