Correct payment_failed_url docs to reflect the deployed fallback behavior
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- openapi
- Lĩnh vực
- api, documentation
Hướng nghiên cứu
Start with the Campaign Cart API guide and campaigns/v1.yaml, checking the create-order example, payment-failure callout, decline-flow explanation, and generated reference. Confirm the event-source fallback semantics with the implementation owner, then reconcile the guide and schema while keeping payment_failed_url optional; done means all public descriptions match the verified fallback order.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The Campaign Cart API guide says an omitted payment_failed_url is accepted only when the request includes HTTP Referer, and otherwise order creation fails. That describes superseded behavior. Engineering confirmed deployment of additional fallbacks on 2026-06-25; a read-only check of the current implementation on 2026-09-21 confirms the fallback resolver remains present.
Affected public surfaces:
- Campaign Cart API guide: the create-order example comment, “Send a Payment Failure URL” callout, and decline-flow explanation.
- Campaigns OpenAPI specification:
CreateOrder.payment_failed_urlhas only a generic redirect description and does not explain fallback behavior.
Please reconcile the guide and schema with the current API behavior:
- Keep explicitly sending a suitable failure URL as the recommended integration practice.
- Remove the claim that omission of both the field and
Referernecessarily rejects the order. - Document the verified fallback order: explicit
payment_failed_url, thenReferer, then the campaign page URL header / available event-source fallback, then the origin ofsuccess_url. Confirm the precise event-source semantics with the implementation owner rather than describing it loosely as the shopper’s last page view. - Keep the field optional in the OpenAPI schema; do not add the obsolete conditional requirement or make it unconditionally required.
- Check the example, callouts, and generated reference agree.
This is a documentation correction request, not a request to change API behavior. Historical documentation work: #44. This issue intentionally contains no merchant records or internal implementation excerpts.
- Ngôn ngữ chính
- MDX
- Star
- 2
- Fork
- 0
- Merge trung bình
- 6 giờ 4 phút
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NextCommerceCo/developer-docs
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
NextCommerceCo/developer-docs#60 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
NextCommerceCo/developer-docs#59 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
NextCommerceCo/developer-docs#36 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
NextCommerceCo/developer-docs#35 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
NextCommerceCo/developer-docs#34 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của NextCommerceCo/developer-docs
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
modelcontextprotocol/go-sdk#1340 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
skills.mdx: ReadResourceDirectoryRequest does not type-check against the 2026-07-28 base schemaĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
modelcontextprotocol/ext-skills#156 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
MystenLabs/MemWal#1104 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Effect-TS/effect#8728 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
account-pool bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
lidge-jun/opencodex#6571 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày