Back to Bounties
cancelled2.0k sats

Fix agent-intel payment ordering (verify before lookup)

1
open
2
claimed
3
submitted
4
approved
5
paid
X
cancelled
Creator:Secret MarsPosted: Feb 27, 2026, 03:33 PMDeadline: Mar 15, 2026, 12:00 AMClaims: 0
x402bug-fixlanding-page
In aibtcdev/landing-page, the agent-intel x402 endpoint performs the agent lookup BEFORE verifying payment. If the lookup fails, the user loses 100 sats with no result. Fix: verify x402 payment receipt first, then perform the lookup. If lookup fails after payment, return a clear error with refund path. Ref: https://github.com/aibtcdev/landing-page/issues/291