One-click install
npx skills add https://github.com/MichaelFrieze/riffatlas --skill autumn-add-payments-michaelfrieze
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: autumn-add-payments
Source: https://github.com/MichaelFrieze/riffatlas/tree/main/.agents/skills/autumn-add-payments
Command: npx skills add https://github.com/MichaelFrieze/riffatlas --skill autumn-add-payments-michaelfrieze

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you add reliable Stripe checkout, upgrades, downgrades, and cancellations to your app without hand-rolling complex billing logic.

Core Features & Use Cases

  • Stripe checkout + attach flow: Redirect new customers to Stripe checkout, then confirm successful purchases by attaching payment when a card is already on file.
  • Scenario-driven product handling: Uses Autumn product scenarios (new, active, scheduled, upgrade, downgrade, renew) to produce the correct next action and UI behavior.
  • Seat/prepaid support: Supports quantities for seat-based or prepaid products via feature quantities.

Quick Start

Use the autumn-add-payments skill to implement a checkout redirect for new customers and an attach confirmation step for existing card-on-file customers using Autumn’s React or backend APIs.

Frequently Asked Questions about autumn-add-payments

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

FAQPage Schema
How do I add Stripe checkout flows for new subscriptions?

Stripe checkout flows for new subscriptions are implemented by redirecting customers to a checkout URL returned by the Autumn checkout endpoint. Once payment is captured, you confirm the purchase by calling the Autumn attach endpoint to finalize the subscription.

How does subscription management handle plan upgrades and downgrades?

Subscription management handles plan upgrades and downgrades by using Autumn's product scenarios to determine the correct next action. The checkout response provides preview data for billing changes, allowing the app to apply upgrades, downgrades, or renewals without hand-rolling complex billing logic.

Can I process seat-based pricing and prepaid product quantities?

Yes, you can process seat-based pricing and prepaid products by passing feature quantities to the Autumn API. The Skill supports quantity-based billing, allowing you to dynamically adjust the number of seats or prepaid units during the checkout and attach flow.

What is the difference between the checkout and attach endpoints for billing?

The checkout endpoint generates a Stripe URL for new customers to enter payment details, while the attach endpoint confirms purchases for existing customers with a saved payment method. Together, they handle scenario-aware billing for both initial and subsequent transactions.

How do I determine the correct next action for different subscription scenarios?

You determine the correct next action by using Autumn's products.list endpoint to fetch scenario-aware product data. This allows your app to distinguish between new, active, scheduled, upgrade, downgrade, and renew scenarios, returning the correct checkout URL or preview data for the UI.