POST /api/worktask_page_event_list/list
type=paypal_processing 事件的 data 不再是 null,现在返回当前支付 order 的 busable_info,包含 pay_type / work_task_id / price_change_id。POST /api/work_tasks/paying_order
DENIED / DECLINED / FAILED 后,后端会取消本地 order;此接口不再返回该订单作为 paying_order。GET /api/work_tasks/info
data.paying_order 会变为 null。POST /api/product_licenses/info
cancelled;不再返回支付中的 paying_order。POST /api/artist_center/worktask_page_event_list/list
type=paypal_processing 事件的 data 不再是 null,现在返回当前支付 order 的 busable_info,包含 pay_type / work_task_id / price_change_id。PayPal capture 进入 DENIED / DECLINED / FAILED 时,后端现在统一取消到 order 层级:
| 层级 | 字段 | 值 |
|---|---|---|
| PayPal checkout session | status | failed |
| 本地 order | orders.status | cancelled |
| Work task paying order | data.paying_order | null |
| Product license | status | cancelled |
paypal_processing 页面事件 | is_close | true |
Work task 场景下,用户再次支付会创建新的 order,可以重新选择支付渠道。Product license 场景下,license 已取消,需要重新购买/创建新的支付流程。
PayPal capture 进入 PENDING 并映射为本地 processing 时,后端会为 user 和 artist 各创建一条 paypal_processing 页面事件。
事件字段:
| 字段 | 值 |
|---|---|
type | paypal_processing |
data_id | null |
data | 当前 order 的 busable_info |
data.pay_type | stage_pay / full_pay / price_change |
data.work_task_id | work task id |
data.price_change_id | 改价支付时为 price change id,否则为 null |
POST /api/worktask_page_event_list/listpaypal_processing 事件返回 data.pay_type,前端可用它区分支付类型。| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
work_task_id | number | 是 | work task id |
无新增,沿用原有错误语义。
POST /api/work_tasks/paying_order无新增,沿用原有错误语义。
POST /api/artist_center/worktask_page_event_list/listpaypal_processing 事件返回 data.pay_type,前端可用它区分支付类型。| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
work_task_id | number | 是 | work task id |
无新增,沿用原有错误语义。
paypal_processing.data 从 null 变为对象,前端应按可选对象读取。event.data.pay_type 区分 stage_pay / full_pay / price_change。PAYMENT.CAPTURE.DENIED 后不再让用户继续使用原 PayPal order;work task 重新支付会创建新的本地 order,并允许重新选择支付渠道。paypal_processing 事件关闭后不会从列表接口返回;前端收到 worktask.refresh 后应重新拉取 work task 详情或 page event list。