From 7819ad90336c21e1fdb6d8b2dcd90e91d99392ad Mon Sep 17 00:00:00 2001 From: Fahad Farrukh Date: Fri, 12 Jun 2026 22:39:44 -0400 Subject: [PATCH] fix(payments): point T01 signing error at the WalletHub per-wallet grant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .../00-getting-started/01-agents-payments-and-limits/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01-features/08-agents-that-transact/00-getting-started/01-agents-payments-and-limits/README.md b/01-features/08-agents-that-transact/00-getting-started/01-agents-payments-and-limits/README.md index fa667d328..23e401da7 100644 --- a/01-features/08-agents-that-transact/00-getting-started/01-agents-payments-and-limits/README.md +++ b/01-features/08-agents-that-transact/00-getting-started/01-agents-payments-and-limits/README.md @@ -122,7 +122,7 @@ python langgraph_payment_agent.py ### Agent gets 402 but payment fails -Delegated signing is not configured. For Coinbase CDP: enable Delegated Signing in CDP Portal → Wallets → Embedded Wallet → Policies. For Stripe/Privy: open the Privy reference frontend at `http://localhost:3000`, log in as `LINKED_EMAIL`, and choose **Connect agent**. +The error message is `Delegated signing grant is not active for the end user wallet. Please redirect end user to the WalletHub to grant the permissions`. Delegated signing has two layers and both must be granted. For Coinbase CDP: enable Delegated Signing in CDP Portal → Wallets → Embedded Wallet → Policies (project-level), then open the WalletHub `redirectUrl` from the `CreatePaymentInstrument` response, sign in as `LINKED_EMAIL`, and grant the per-wallet permission. For Stripe/Privy: open the Privy reference frontend at `http://localhost:3000`, log in as `LINKED_EMAIL`, and choose **Connect agent**. ### Session budget exceeded immediately