Files
2026-09-17 12:16:20 +08:00

15 lines
794 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## ADDED Requirements
### Requirement: 微信直连 V2 退款凭证字段
`wechat_v2` 商户凭证模板 MUST 在 optional 中新增 `wx_client_cert_content``wx_client_key_content`PEM 文本),仅在 `provider_type=wechat_v2` 时展示;填写后用于原路退款,不填不影响支付/查单/回调。
#### Scenario: 商户表单展示 PEM 文本域
- **GIVEN** 服务商类型为 `wechat_v2`
- **WHEN** 打开新建/编辑商户表单
- **THEN** 表单 MUST 提供「客户端证书内容」「客户端私钥内容」两个可选文本域
#### Scenario: 凭证不完整提示
- **GIVEN** `wechat_v2` 商户仅填写证书内容而未填写私钥内容
- **WHEN** 保存商户
- **THEN** 允许保存,但前端 MUST 提示该商户因凭证不完整不可用于原路退款