integrate-website-checkout
SKILL.md
Integrate Website Checkout
Implement hosted checkout for web apps with minimal PCI surface.
Purpose
Use this skill when the user wants hosted checkout + customer portal quickly in a website app.
Documentation Sources
Use this order:
- SolvaPay Docs MCP server: https://docs.solvapay.com/mcp
- Fallback index: https://docs.solvapay.com/llms.txt
- Direct docs pages
If MCP is unavailable, suggest it as optional and continue.
Docs Discovery Hints
- Topics:
checkout sessions,customer sessions,nextjs guide,react guide,webhooks,test in sandbox. - Retrieval hint: resolve topics via MCP search first, then
llms.txt.
Guardrails
- Never build custom card forms when hosted checkout is acceptable.
- Never expose
SOLVAPAY_SECRET_KEYin client code. - Always keep checkout session creation on the server.
- Always use Solvapay naming in user-facing text.
- Always verify access state from server truth after returning from checkout.
Stack Support
- Next.js: fully supported -> nextjs/guide.md
- React (no Next.js): partial guidance -> react/guide.md
For API-heavy or non-website use cases, route to ../integrate-solvapay-sdk/SKILL.md.
Handoff Output
When complete, provide:
- framework and auth model used
- implemented routes for checkout/customer session/subscription check
- return URL behavior and post-checkout refresh path
- sandbox validation outcome (success + failure case)
Task Progress
- Confirm framework and auth strategy
- Implement server checkout session route
- Implement customer portal session route
- Gate premium views with subscription state
- Validate end-to-end hosted checkout in sandbox
Weekly Installs
5
Repository
solvapay/skillsFirst Seen
14 days ago
Security Audits
Installed on
cline5
github-copilot5
codex5
kimi-cli5
gemini-cli5
cursor5