to navigate
to select
esc to close
Guides Advanced

Billing Guide

Billing and subscription management powered by the Pay gem and Stripe

Overview

Airogel CMS uses the Pay gem to handle subscription management, payment processing, invoice generation, and receipt PDFs.

Configuration

Configure Stripe keys in your credentials file and set up the Pay gem with your business information.

Plans

Define plans in your database that map to Stripe products with pricing information.

Subscriptions

Create subscriptions using the payment processor API, check subscription status, cancel, or change plans.

Payment Methods

Use Stripe Elements to securely collect payment information and update payment methods.

Webhooks

Configure Stripe webhooks to sync subscription events like creation, updates, and cancellations.