Skip to content

feat: plans checkout, phala commerce, and e2e checklist - #84

Merged
daopunk merged 4 commits into
mainfrom
feat/checkout
Sep 30, 2026
Merged

daopunk merged 4 commits into
mainfrom
feat/checkout

Conversation

@daopunk

@daopunk daopunk commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Wire Plans paid Subscribe CTAs to POST /v1/checkout/sessions via PUBLIC_COMMERCE_API_BASE_URL.
  • Deploy signal-commerce on the live Phala CVM in place (digest-pinned, healthcheck, ENTITLEMENTS_ENFORCE default false).
  • Add commerce/entitlement E2E checklist (docs/commerce/e2e-checklist.md) before flipping enforce on.

Closes

Closes #61
Closes #64
Closes #65

Live smoke (post-deploy)

  • Health: https://9adac7636fe255182f699940ffd1924960415507-8082.dstack-pha-prod9.phala.network/health → 200
  • Checkout create with test Price IDs returns Stripe hosted URL
  • Image: daopunk/signal-commerce@sha256:75076fd98ed63454d63bf1f6ac6b32b1f9aaff16d6316be4fe998bc8e83d9f5b

Operator follow-ups (before ENTITLEMENTS_ENFORCE=true)

  • Stripe Dashboard test webhook → CVM …-8082…/v1/webhooks/stripe + whsec_… in .phala.env + redeploy
  • GitHub Actions var PUBLIC_COMMERCE_API_BASE_URL = commerce host (no path); redeploy Pages
  • Walk docs/commerce/e2e-checklist.md L1–L3 (Signal DM / group steps)

Test plan

  • npm run ci / pre-push
  • Site unit + plans Playwright smoke
  • Phala commerce health + checkout create
  • Manual: Plans Subscribe after Pages var
  • Manual: webhook + !link / !enable-sigstack path

@daopunk daopunk changed the title feat: plans checkout ctas and phala commerce deploy feat: plans checkout, phala commerce, and e2e checklist Sep 29, 2026
@daopunk
daopunk merged commit cb75bb3 into main Sep 30, 2026
3 checks passed
@daopunk
daopunk deleted the feat/checkout branch September 30, 2026 00:00
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.

test: commerce and entitlement e2e test plan feat: deploy commerce service and entitlements on phala cvm feat: wire plans ctas to stripe checkout

1 participant