Repository navigation
docs: add framework integration guides for Next.js, Express, Node.js and Python - #1131
Draft
juandolealt wants to merge 1 commit into
Draft
juandolealt wants to merge 1 commit into
juandolealt wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully 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.
Adds five short, copy-paste integration guides, one setup per page, for developers and coding agents looking for framework-specific answers:
/docs/resources/guides/accept-stablecoin-payments-nextjs)/docs/resources/guides/charge-for-an-api-express)/docs/resources/guides/charge-for-an-api-nextjs)/docs/resources/guides/stablecoin-payouts-nodejs)/docs/resources/guides/stablecoin-payouts-python)Navigation: the pages stay out of the sidebar. Each one is a supporting page, linked from a new short section in its parent workflow guide (Plan stablecoin payment acceptance, HTTP 402 Payment Required, Plan global payouts) and registered in
supportingPagesinsidebar-coverage.test.ts. They still export as Markdown and appear inllms.txt.Next.js + mppx fix:
mppx@0.13.3needs Next.js >= 16.2.6. Under Turbopack,mppx/nextjsroutes fail withCan't resolve '@modelcontextprotocol/sdk/types.js'unlessserverExternalPackages: ['mppx']is set. The Next.js MPP guide covers this, and this PR adds a warning to the existing Accept payments for an API page.Verification: every code sample ran end to end on Moderato with faucet-funded accounts:
mppx/clientpayer pays 0.01 OUSD, and the response returns 200 with asuccessreceipt.transferSyncand a memo, and the verify route marks it paid with an event key.Checks:
pnpm test(1687 passed),pnpm check:anchors,pnpm build,pnpm check:markdown(340 pages).