Skip to content

[WIP] Fix payment confirmation error and update dashboard display - #10

Merged
mesayanroy merged 2 commits into
mainfrom
copilot/fix-payment-confirmation-error
Mar 30, 2026
Merged

[WIP] Fix payment confirmation error and update dashboard display#10
mesayanroy merged 2 commits into
mainfrom
copilot/fix-payment-confirmation-error

Conversation

Copilot AI commented Mar 30, 2026

Copy link
Copy Markdown
Contributor
  • Fix 402→500 payment flow: PaymentModal now passes actual Freighter signer wallet to onPaymentSuccess(txHash, signerWallet); agent detail page uses signer wallet for X-Payment-Wallet header
  • Fix 500 error after payment: runAgentModel now gracefully handles missing OPENAI_API_KEY / ANTHROPIC_API_KEY with demo-mode message instead of throwing 500
  • Improve payment verification: source account mismatch is now a warning (non-fatal); memo check has improved fallback base-matching logic
  • Trading page: replaced AreaChart line chart with custom SVG CandlestickChart component showing proper OHLC green/red candles with TP/SL/entry/liquidation reference lines
  • Trading page: real-time PnL updates on open position as live price changes (uses positionRef to avoid stale closure)
  • Trading page: TP/SL auto-trigger closes position with correct PnL; dismissible closed-PnL banner
  • Dashboard: added useMarketplaceFeed real-time Ably feed showing live 0x402 activity for owned agents
  • Dashboard: My Agents section shows forked/marketplace badges and links to agent detail pages
  • AgentBuilder: added "List in Marketplace for monetization" toggle checkbox with deploy summary

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

@vercel

vercel Bot commented Mar 30, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
0x402-pubsub Ready Ready Preview, Comment Mar 30, 2026 3:42am

@mesayanroy
mesayanroy marked this pull request as ready for review March 30, 2026 03:42
Copilot stopped work on behalf of mesayanroy due to an error March 30, 2026 03:43
Copilot AI requested a review from mesayanroy March 30, 2026 03:43
@mesayanroy
mesayanroy merged commit cdf4a0b into main Mar 30, 2026
8 checks passed
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