Sales Block

Carts, subscriptions, invoices.
Decided.

Battle-tested commerce layer for Stripe-backed billing. Open source, running against real orders and subscriptions today.

claude plugin marketplace add https://github.com/23blocks-OS/ai-agents

claude plugin install sales-block

Your agent now knows this API. Prefer hands-on? REST + SDK docs →

What's inside

Carts

Line items, tax, inventory holds

Orders

Creation to fulfillment tracking

Subscriptions

Trials, plans, usage-based tiers

Payments

Cards, ACH, SEPA, retries

Invoicing

PDF export, branding, reminders

Checkout

Guest, saved addresses, shipping

Proration

Mid-cycle upgrades, downgrades

Payouts

Marketplace splits, commissions

Already debugged

The mistakes were made, fixed, and shipped past — before you got here.

  • Idempotency keys on every charge, so retries never double-bill.

  • Proration is computed against the exact remaining period, not rounded.

  • Inventory holds release automatically if checkout payment never lands.

  • Order status reconciles from webhooks, not the client — no orders stuck unpaid.

Use this instead of

ChargebeeRecurlyyour hand-wrapped Stripe webhooks

Better together

The customer Auth Block signs in is the same customer_id Sales Block bills — no identity glue. Order paid → CRM contact updated → Rewards points granted. Zero glue code.

Billing bugs cost real money.

Stay in the loop

Get product updates, engineering posts, and new block announcements delivered to your inbox.

No spam. Unsubscribe anytime. Privacy policy.