ASTRA Subscription Payment Module

0•

Automates the end-to-end implementation of robust subscription payment systems, including PG integration, dunning strategies, and credit management.

The ASTRA Subscription Payment Module is a comprehensive Claude Code skill designed to fast-track the development of financial infrastructure in SaaS applications. It automatically executes the entire pipeline from reference design and blueprinting to full-stack implementation and testing. By providing a PG-agnostic abstraction layer, it handles complex billing logic such as proration, automated dunning retries, AES-256 billing key encryption, and credit-based usage tracking. Whether you are using Next.js with Drizzle or Spring Boot with JPA, this skill adapts to your technology stack to deliver production-ready payment workflows including webhooks and scheduled renewals.

Key Features

01End-to-end UI generation for pricing tables, billing methods, and invoice history
02Complete subscription lifecycle management including proration, pausing, and plan changes
03Advanced credit management system with atomic balance processing and expiration logic
04Multi-PG integration supporting Toss Payments and KCP with a provider-agnostic abstraction layer
050 GitHub stars
06Automated dunning system with 4-step retry strategies for failed transactions

Use Cases

01Rapidly bootstrapping a SaaS billing system with complex subscription tiers
02Implementing secure, encrypted billing key storage and webhook verification
03Automating credit-based usage and balance adjustments for workspace memberships