Commit Graph

28 Commits

Author SHA1 Message Date
2569718930@qq.com 442a9c8560 修复支付代币匹配问题:direct 模式遍历所有支持代币查 Transfer 事件,未知代币不再伪装 USDC
- _extract_direct_transfer_event: 遍历 supported_tokens 所有合约而不仅是 intent.token_address
- _default_token_meta: 未知代币显示地址缩写而非 USDC
- _token_symbol_for: 未知代币同样不伪装 USDC
2026-05-23 11:41:01 +08:00
2569718930@qq.com 105713c799 @
支付提交增加 Tx 预校验:提交前链上验签收款地址与金额,防止转错地址;409 错误展示友好中文提示并自动对账恢复

- 新增 validate_intent_tx 方法及 POST /api/payments/intents/{id}/validate 端点,
  在提交前查链上 receipt 对比收款地址和金额,mismatch 直接拦截
- 新增 handleSubmit409 辅助函数,根据后端错误详情分流处理:
  已支付→自动 reconcile,已过期→提示重下单,其他→透传具体原因
- submit/validate 路由透传后端 detail 字段,生产环境也能看到具体错误
- 手动转账面板粘贴 tx hash 后自动触发验证,绿色/红色提示,
  验证不通过时禁用提交按钮

Tested: tsc --noEmit + ruff check . 均通过
@
2026-05-22 04:44:14 +08:00
2569718930@qq.com d04d6c9efb 移除季付和年付计划,仅保留月付 2026-05-20 20:44:13 +08:00
2569718930@qq.com 60093d3162 @
统一月付价格为 10 USDC 并清理所有 trial 文案

- 默认月付 fallback 从 5U 改为 10U(contract_checkout.py、AccountCenter.tsx)
- 移除 LoginClient / HeaderBar / AccountCenter / UnlockProOverlay 中的试用推广文案
- VPS 同步: PLAN_CATALOG_JSON、GROUP_MEMBER_PRICE_USDC 更新为 10
- SIGNUP_TRIAL_ENABLED=false 保持关闭
@
2026-05-20 11:12:29 +08:00
2569718930@qq.com f4949212d8 修复 ruff lint:移除未使用的变量 2026-05-19 18:34:37 +08:00
2569718930@qq.com 82d60cf05f feat: implement Telegram-to-Web account binding flow and add supporting database and UI components 2026-05-19 18:26:45 +08:00
2569718930@qq.com 6041d25f23 feat: add telegram group pricing and direct payments 2026-05-18 16:18:26 +08:00
2569718930@qq.com 57acbc41c9 Handle delegated payment confirms and recover failed intents 2026-04-13 13:37:39 +08:00
2569718930@qq.com eab6ec7cff Handle future subscriptions and trial overlap correctly 2026-04-07 09:54:21 +08:00
2569718930@qq.com 4519af0c6c Repair payment subscription reconciliation and recent intent sync 2026-03-22 13:06:57 +08:00
2569718930@qq.com e662ef7d3b Add ops tools for payment incident triage and resolution 2026-03-21 13:44:32 +08:00
2569718930@qq.com 4413b31396 Fix Pro payment recovery and wallet provider selection 2026-03-21 12:19:53 +08:00
2569718930@qq.com 98d36a9174 Fix weekly points display and clarify leaderboard stats 2026-03-20 23:50:40 +08:00
2569718930@qq.com a0b8a3595c feat: Implement payment processing with contract auditing, event loops, and web observability endpoints. 2026-03-20 23:33:50 +08:00
2569718930@qq.com 69f24ddc08 Optimize frontend performance and add route-level web vitals tracking 2026-03-18 20:38:43 +08:00
2569718930@qq.com 90c998f06d feat: Introduce account center with subscription management and contract-based payment integration. 2026-03-17 13:57:44 +08:00
2569718930@qq.com 609fc8914a feat: Implement user account center with authentication, subscription management, and cryptocurrency payment integration. 2026-03-16 20:30:46 +08:00
2569718930@qq.com 2397a7569b feat: add payment event loop for scanning blockchain and processing payment intents. 2026-03-14 13:06:03 +08:00
2569718930@qq.com 02e35a3a5f feat: Implement a new contract-based payment system with wallet binding, payment intents, and subscription plan management. 2026-03-14 10:35:30 +08:00
2569718930@qq.com af2561d019 feat: Introduce a runtime coordinator for bot loops and add new payment checkout and confirmation modules. 2026-03-13 22:11:55 +08:00
2569718930@qq.com db2f22509b feat: Add account center with crypto payment checkout and wallet management. 2026-03-13 21:08:57 +08:00
2569718930@qq.com cd0a5d519f feat: Introduce core bot components, on-chain wallet watchers, Telegram notifications, and configuration management. 2026-03-13 19:24:05 +08:00
2569718930@qq.com aa98623cab feat: implement Pro subscription with a frontend unlock overlay and blockchain-based payment integration. 2026-03-13 13:58:41 +08:00
2569718930@qq.com 990182e089 feat: Implement account center for user authentication, subscription, and payment management. 2026-03-13 09:50:04 +08:00
2569718930@qq.com 0f51780566 feat: Introduce premium map dashboard with dark theme, pro features, and payment processing. 2026-03-13 08:15:27 +08:00
2569718930@qq.com 31ee147734 feat: Implement contract checkout payment service and account management UI. 2026-03-13 07:31:47 +08:00
2569718930@qq.com 54c4a26162 feat: Implement subscription-based premium features, payment processing, and enhanced dashboard components. 2026-03-13 06:41:33 +08:00
2569718930@qq.com e62a36e0bc feat: Introduce web application with payment processing and Supabase authentication. 2026-03-13 05:13:48 +08:00