autumn-add-payments — community autumn-add-payments, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for E-commerce Agents needing seamless Stripe payment integration. Turn Your Work Into Content

usenotra usenotra
[0]
[0]
Updated: 3/5/2026

Agent Capability Analysis

The autumn-add-payments skill by usenotra is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Perfect for E-commerce Agents needing seamless Stripe payment integration.

Core Value

Empowers agents to automate Stripe checkout, upgrades, downgrades, and cancellations using the Autumn API, streamlining payment flows with `checkout` and `attach` functionalities.

Capabilities Granted for autumn-add-payments

Automating payment processing for new customers
Handling returning customer payments with card on file using `attach`
Generating Stripe checkout URLs for secure payment processing

! Prerequisites & Limits

  • Requires Autumn API access
  • Stripe checkout integration only
  • Consults docs.useautumn.com for latest API and code examples
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

autumn-add-payments

Install autumn-add-payments, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Autumn Payments

Always consult docs.useautumn.com for code examples and latest API.

Autumn handles Stripe checkout, upgrades, downgrades, and cancellations automatically.


Quick Reference

Payment Flow

  1. checkout - Returns Stripe URL (new) or preview data (returning customer)
  2. attach - Confirms purchase when card already on file

Checkout Result

FieldDescription
urlStripe checkout URL (null if card on file)
productTarget product with scenario
current_productCustomer's current product
linesInvoice line items
totalAmount in major currency units
currencyCurrency code

Product Scenarios

ScenarioMeaningAction
newNot subscribedSubscribe
activeCurrent planCurrent Plan
scheduledScheduledAlready Scheduled
upgradeHigher tierUpgrade
downgradeLower tierDowngrade
renewCancelledRenew

React Implementation

tsx
1import { useCustomer, usePricingTable } from "autumn-js/react"; 2 3const { checkout, attach } = useCustomer(); 4const { products } = usePricingTable(); 5 6// Checkout flow 7const data = await checkout({ productId: "pro" }); 8if (data.url) { 9 window.location.href = data.url; // New customer 10} else { 11 // Show confirmation dialog, then: 12 await attach({ productId: "pro" }); 13} 14 15// Cancel 16const { cancel } = useCustomer(); 17await cancel({ productId: "pro" }); 18// Or downgrade to free: 19await attach({ productId: "free" });

Backend Implementation

typescript
1import { Autumn } from "autumn-js"; 2 3const autumn = new Autumn({ secretKey: process.env.AUTUMN_SECRET_KEY }); 4 5// Checkout 6const { data } = await autumn.checkout({ customer_id, product_id: "pro" }); 7if (data.url) return redirect(data.url); 8 9// Attach (after user confirms) 10await autumn.attach({ customer_id, product_id: "pro" }); 11 12// Get products with scenarios 13const { data: productsData } = await autumn.products.list({ customer_id });

Prepaid Pricing

For seat-based or prepaid products, pass quantities:

typescript
1await autumn.checkout({ 2 customer_id, 3 product_id: "credits_pack", 4 options: [{ feature_id: "credits", quantity: 500 }], 5});

Button Text Pattern

typescript
1function getButtonText(product: Product): string { 2 const { scenario, properties } = product; 3 if (properties?.has_trial) return "Start Trial"; 4 if (scenario === "active") return "Current Plan"; 5 6 const text = { upgrade: "Upgrade", downgrade: "Downgrade", new: "Subscribe" }; 7 return text[scenario] ?? "Enable"; 8}

Common Gotchas

  1. URL field - It's data.url, not data.checkout_url
  2. Don't build custom logic - Use products.list for scenarios
  3. Proration automatic - Autumn handles upgrade/downgrade proration
  4. Cancel via free - Prefer attaching free plan over hard cancel
  5. Success URL - Pass success_url to redirect after Stripe checkout

Resources

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is autumn-add-payments?

Perfect for E-commerce Agents needing seamless Stripe payment integration. Turn Your Work Into Content

How do I install autumn-add-payments?

Run the command: npx killer-skills add usenotra/notra/autumn-add-payments. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for autumn-add-payments?

Key use cases include: Automating payment processing for new customers, Handling returning customer payments with card on file using `attach`, Generating Stripe checkout URLs for secure payment processing.

Which IDEs are compatible with autumn-add-payments?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for autumn-add-payments?

Requires Autumn API access. Stripe checkout integration only. Consults docs.useautumn.com for latest API and code examples.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add usenotra/notra/autumn-add-payments. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use autumn-add-payments immediately in the current project.

Related Skills

Looking for an alternative to autumn-add-payments or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI