# pay-rails/pay

Payments for Ruby on Rails apps

Repository: https://github.com/pay-rails/pay
Canonical: https://ross.abutalabs.com/products/pay-rails-pay
Homepage: https://github.com/pay-rails/pay
Language: Ruby
License: MIT
License Family: permissive
Topics: subscription, stripe, pay, engine, rails, payment-provider, braintree, sca, paddle, payments, hacktoberfest
Last push: 2026-08-23T13:26:36+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 95, longevity 100
- inputs: {"age_days": 3500, "days_push": 10, "days_rel": 34, "gap_med": 4, "n_releases_24m": 38}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2252, forks 354 (observed 2026-08-28T04:06:31.059540+00:00)

## What it is
Pay is a payments engine (Rails engine gem) for Ruby on Rails 6.0+ that standardizes integration with payment processors like Stripe, Braintree, Paddle, and Lemon Squeezy. It provides models and APIs for customers, payment methods, charges, subscriptions, and webhook handling.

## Use cases
- add stripe subscriptions to a rails app
- handle recurring billing and payments in ruby on rails
- manage customer payment methods across multiple processors
- process one-time charges with stripe or braintree
- handle payment webhooks in rails
- support sca-compliant checkout for european customers
- switch payment providers without rewriting billing code

## When to choose
- you're building a rails app that needs subscriptions or one-time payments
- you want a unified api over stripe, braintree, paddle, or lemon squeezy
- you need sca-compliant payments and webhook handling out of the box

## When to avoid
- you're not using ruby on rails
- you need highly complex, provider-specific payment flows
- you need marketplace features beyond basic stripe connect support

## Facets
- artifact type: library
- maturity: active
- function: sdk, webhook, middleware
- domain: fintech, e-commerce, web-development, backend
- platform: ruby, self-hosted
- tags: payments, stripe, braintree, paddle, lemon-squeezy, subscriptions, sca, rails-engine, billing, web-server

## Member repositories
- pay-rails/pay (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:31.059540+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:43:49.378407+00:00, confidence not recorded.
  - readme: https://github.com/pay-rails/pay (fetched 2026-08-28T04:06:31.059540+00:00, sha 09eb799d7d24)
  - homepage: https://github.com/pay-rails/pay (fetched 2026-08-29T10:23:49.949275+00:00, sha f1dd3448d01c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
