example.integration-paypal
Credential-free PayPal commerce integration example with deterministic policy handoffs.
@lssm-tech/example.integration-paypalbun add @lssm-tech/example.integration-paypalManifest declarations describe the current workspace; they do not verify registry publication or runtime execution.
Package guide
Credential-free PayPal commerce example built on the canonical paypalIntegrationSpec.
What This Demonstrates
- Canonical integration reuse from
@lssm-tech/lib.contracts-integrations. - Deterministic checkout, buyer approval, capture, refund, subscription, webhook, and marketplace lifecycle fixtures.
- Explicit human and policy handoffs for approval, refunds, seller onboarding, and payouts.
- A redacted sandbox connection plus stable tenant timestamps.
- No provider SDK execution, outbound network calls, or usable credentials.
Public Entry Points
.— complete example barrel../integration— canonical PayPal integration re-export../workflow— deterministic commerce lifecycle../blueprintand./tenant— app and tenant configuration../connection.sample— redacted connection metadata../integration-paypal.feature— feature composition../docsand its alias./docs/integration-paypal.docblock— documentation registration../example— example registry descriptor.
Running Locally
From examples/integration-paypal:
bun run testbun run typecheckbun run lint:checkbun run build
Host Boundary
This package describes contracts only. A host must supply authenticated PayPal adapters, webhook verification, approval gateways, tenant isolation, and recorded policy evidence. Never put client secrets or access tokens in connection config.
Relationships
Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.
2 declarations
@lssm-tech/lib.contracts-integrationsworkspace:^
Read the package manual ↗@lssm-tech/lib.contracts-specworkspace:^
Read the package manual ↗
Declared capabilities
This manifest does not declare a capability catalogue. Use the guide, import map and source to assess the package.
Scripts
publish:pkgbun publish --tolerate-republish --ignore-scripts --verbosepublish:pkg:canarybun publish:pkg --tag canarybuildcontractspec-bun-build buildbuild:bundlecontractspec-bun-build transpilebuild:typescontractspec-bun-build typesdevcontractspec-bun-build devcleanrimraf dist .turbolintbun lint:fixlint:fixnode ../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../scripts/biome.cjs check --write .lint:checknode ../../scripts/biome.cjs check .testbun test --pass-with-no-testsprebuildcontractspec-bun-build prebuildtypechecktsgo --noEmit