stacks-payments

Integrate Stripe payments into Stacks applications with a unified Payment facade.

622|17|Updated Apr 26, 2022
One-click install
npx skills add https://github.com/stacksjs/stacks --skill stacks-payments
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stacks-payments
Source: https://github.com/stacksjs/stacks/tree/main/.claude/skills/stacks-payments
Command: npx skills add https://github.com/stacksjs/stacks --skill stacks-payments

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Centralizes and simplifies Stripe-based payments for Stacks applications, covering charges, subscriptions, customers, invoices, products, prices, coupons, and webhooks to enable end-to-end billing workflows.

Core Features & Use Cases

  • Unified Payment Facade with methods for one-time charges, checkout sessions, subscriptions, customer management, payment methods, invoices, products & prices, coupons & promo codes, and webhook handlers.
  • Supports SaaS and commerce scenarios, including creating and updating customers, managing subscriptions, creating products and prices, and processing invoices and payments.
  • Real-world flow: set up Stripe, register webhooks, and drive a complete payment lifecycle from initial checkout to renewal and invoicing.

Quick Start

Configure Stripe-backed payments for a user and execute a sample one-time charge and a subscription checkout.

Frequently Asked Questions about stacks-payments

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Stripe payments into my Stacks application?

Integrating Stripe payments into a Stacks app involves using a unified Payment facade to manage charges, subscriptions, invoices, and webhooks. It supports both server and frontend contexts for complete billing workflows.

How do I manage SaaS subscriptions and plan billing with Stripe?

Managing SaaS subscriptions with Stripe requires setting up products and prices, creating checkout sessions, and tracking subscription status in your database. This Skill handles the complete payment lifecycle from initial checkout to renewal and invoicing.

Can I process Stripe webhooks and track subscription status in my database?

Yes, you can process Stripe webhooks and track subscription status directly in your database. The Skill registers webhook handlers and maintains in-database subscription tracking to automate the billing lifecycle from checkout to renewal.

Does this Stripe billing integration support one-time charges and coupons?

Yes, the Stripe billing integration supports one-time charges, coupons, and promo codes. It provides a unified facade for creating products, managing prices, and applying discounts alongside standard subscription and invoice processing.

What is the best way to set up Stripe checkout sessions for an e-commerce Stacks app?

The best way to set up Stripe checkout sessions for a Stacks e-commerce app is through a unified Payment facade. It handles customer creation, product and price configuration, and checkout session generation for both commerce and SaaS scenarios.