Skip to content

docs(core): an on-page checkout's client data is public - #91

Open
moset15 wants to merge 1 commit into
emdashCommerce:mainfrom
FIKANOVA:docs/provider-client-is-public
Open

moset15 wants to merge 1 commit into
emdashCommerce:mainfrom
FIKANOVA:docs/provider-client-is-public

Conversation

@moset15

@moset15 moset15 commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Follow-up from your #84 review. Independent of #85 and of the other follow-ups; merge in any order.

Change

client in an on-page checkout result is sent to the browser as JSON by create-session. The README's provider-author list now says so, and that a provider must never put a secret key or webhook secret in it (Paystack sends only { accessCode }). The same warning is on the client field in types.ts.

Docs and a comment only, plus a patch changeset. No behaviour change.

🤖 Generated with Claude Code

create-session sends `client` to the browser as JSON, so a provider must
never put a secret key or webhook secret in it. Noted in the README's
provider-author list and on the type.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
moset15 added a commit to FIKANOVA/dashcommerce that referenced this pull request Nov 26, 2026
…o fork main

[FIK-70] docs(core): an on-page checkout's client data is public (fork integration of upstream emdashCommerce#91)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant