Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
A Agency-CRM
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

已经迁移到新的代码仓库,使用飞书登录 https://gitlab.deeplink.media/

  • nodejs
  • Agency-CRM
  • Merge requests
  • !5

Merged
Created May 21, 2026 by hongxing@hongxingMaintainer

feat(paypal): PayPal 自动闭环 + 付款凭证 PDF + Modal 改造

  • Overview 0
  • Commits 3
  • Changes 23
  • PayPal 打款 UI 从 Drawer 改成 Modal,错误提示带"复制给研发"按钮(对齐 Airwallex)
  • 新增 /api/paypal-payment/:approvalId/receipt.pdf 端点,pdf-lib + Noto Sans SC 渲染中文付款凭证
  • paypal-sync 状态命中 PROCESSING/UNCLAIMED/SUCCESS 时自动触发 tryAutoFinalizePaypal: 渲染 PDF → 上传 COS → 调通用 finalize(审批自动通过 + 写 PaymentRecord),跟 Airwallex 闭环对齐
  • PayPal 白名单收紧到 singapore_superlinear 一个主体,前后端同步
  • 新增 external_api_audit_logs 表 migration(之前 schema drift,audit-log 落库一直报错)

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: feature-paypal-v3