docs(headless-sdk): information capture via collectData.schema (native) - #103
Open
enesozturk wants to merge 3 commits into
Open
docs(headless-sdk): information capture via collectData.schema (native)#103enesozturk wants to merge 3 commits into
enesozturk wants to merge 3 commits into
Conversation
…ve schema Add an Information capture section: the hosted collectData.url form as the recommended path (zero UI, via notifyInfoCaptureSubmitted), the native collectData.schema form as the custom-UI alternative, and a deprecation note on collectData.fields. Update the InformationCapture render case to match.
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Contributor
Author
|
Closing — this presented the hosted-URL IC path as primary, which we're parking (the SDK can't cleanly detect hosted-form completion; host-triggered signal is the wrong DX). Native (schema) IC docs to be redone separately. |
Reframe the hosted information-capture path around openInfoCapture(): one call, the SDK opens the WC-hosted form and detects completion itself — the integrator wires no completion handling. Drops the host-triggered signal framing. Native schema path + fields-deprecation note unchanged.
…d URL for now) Render the identity form from collectData.schema + submitInfoCapture; deprecate fields. The hosted collectData.url path is parked (cross-origin completion detection blocked by the /collect COOP), so it's not offered to headless users yet.
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.
Documents information capture for the headless SDK (WCPBX-1082), scoped to the native
collectData.schemapath.Adds an Information capture section: render the identity form from
collectData.schema(the Engine's JSON Schema —properties,required,anyOfPOB/POR,tosConfirmed) and submit viasubmitInfoCapture(data). MarkscollectData.fieldsdeprecated. Updates theInformationCapturerender case to useschemainstead of the deprecatedfields.The hosted
collectData.urlpath is parked for now — its cross-origin completion detection is blocked by the /collect page's COOP (see the issue), so it isn't offered to headless users yet.Pairs with buyer-experience #1195 (example renders from schema).