@funnelsgrove/payments
v0.1.0
Published
Shared billing and checkout helpers for funnels.
Downloads
123
Readme
@funnelsgrove/payments
Shared billing and checkout helpers for funnels.
Build And Publish
- Build distributable output with
npm run build --workspace @funnelsgrove/payments. - Publish from the repo root with
npm publish --workspace @funnelsgrove/payments --access public. - The package pins
@funnelsgrove/runtimeto the same exact version and the build resolves against the runtime package's emitteddistcontract.
Use This Package For
- Stripe plan loading and checkout integration
- global funnel billing catalog contracts
- reusable plan-selector and checkout UI
- billing catalog types and runtime helpers
Responsibilities
- keep paywall behavior consistent across funnels
- define the shared billing types used by funnel-local catalogs
- expose one ordered funnel-local billing catalog contract
What Belongs Here
- billing catalog types and normalization helpers
- Stripe SDK wiring
- checkout/plan-selector components
What Does Not Belong Here
- funnel routing
- funnel analytics
- step-specific copy or layout
- funnel-owned billing catalog entries
- manifest validation
