Conversation
Add a developer guide section for integrating third-party services with the shop subscription system: lifecycle, webhooks, and the fulfillment report callback. Also correct three inaccuracies in the shop webhook page.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
docs | 318dc24 | Commit Preview URL Branch Preview URL |
Sep 17 2026, 10:07 AM |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Document how third-party services integrate with the shop subscription system, covering the full subscription lifecycle, webhooks, and the fulfillment callback.
Add a "商城对接" section under the developer guide with four pages:
SUBSCRIPTION_*event reference,data.subscriptionfields, and the related order events.FULFILLMENT_REQUESTEDrequest and the inboundPOST /orders/{id}/fulfillment-reportsreport, including authentication, idempotency, error handling, and reconciliation.The pages document that subscription integration goes through webhooks plus the console REST API, note that the shop and subscription modules currently expose no plugin extension point for these flows, and state that the feature requires Halo 商城版 2.27.0 or later.
Also correct three inaccuracies in the existing shop webhook page:
webhookIdin the payload example is a numeric webhook configuration ID rather than a name, zero-amount orders emit bothORDER_CREATEDandORDER_PAID, and the event list was missingFULFILLMENT_REQUESTEDand the subscription events.Validation:
pnpm check:cipassed.pnpm buildpassed (240 pages, dead links checked).git diff --checkpassed.Documentation changes assisted by DeepSeek Harness.