pay
2,263
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
Ruby
语言
—
创建时间
最近更新
项目能做什么
用于 Ruby on Rails 应用的支付集成方案。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<p align="center"><img src="docs/images/logo.svg" height="50px"></p> # 💳 Pay - Payments engine for Ruby on Rails [](https://github.com/pay-rails/pay/actions) [](https://badge.fury.io/rb/pay) <img src="docs/images/stripe_partner_badge.svg" height="26px"> Pay is a payments engine for Ruby on Rails 6.0 and higher. > [!TIP] > Check out [Jumpstart](https://jumpstartrails.com) for Rails Starter Kit with Pay already integrated! **Upgrading?** Check the [UPGRADE](UPGRADE.md) guide for required changes and/or migration when upgrading from a previous version of Pay. ## 🧑💻 Tutorial Want to see how Pay works? Check out our video getting started guide. <a href="https://www.youtube.com/watch?v=hYlOmqyJIgc" target="_blank"><img width="50%" src="http://i3.ytimg.com/vi/hYlOmqyJIgc/maxresdefault.jpg"></a> ## 🏦 Payment Processors Our supported payment processors are: - Stripe ([SCA Compatible](https://stripe.com/docs/strong-customer-authentication) using API version `2022-11-15`) - Paddle (SCA Compatible & supports PayPal) - Braintree (supports PayPal) - Lemon Squeezy (supports PayPal) - [Fake Processor](docs/fake_processor/1_overview.md) (used for generic trials without cards, free subscriptions, testing, etc) Want to add a new payment provider? Contributions are welcome. > We make our best attempt to standardize the different payment providers. They function differently so keep that in mind if you plan on doing more complex payments. It would be best to stick with a single payment provider in that case so you don't run into discrepancies. ## 📚 Docs * [Installation](docs/1_installation.md) * [Configuration](docs/2_configuration.md) * **Usage** * [Customers](docs/3_customers.md) * [Payment Methods](docs/4_payment_methods.md) * [Charges](docs/5_charges.md) * [Subscriptions](docs/6_subscriptions.md) * [Routes & Webhooks](docs/7_webhooks.md) * [Customizing Pay Models](docs/8_customizing_models.md) * **Payment Processors** * [Stripe](docs/stripe/1_overview.md) * [Braintree](docs/braintree/1_overview.md) * [Paddle](docs/paddle_billing/1_overview.md) * [Lemon Squeezy](docs/lemon_squeezy/1_overview.md) * [Fake Processor](docs/fake_processor/1_overview.md) * [Asaas (Community)](https://github.com/PedroAugustoRamalhoDuarte/pay-asaas) * [Square (Community)](https://github.com/Willardgmoore/pay-square) * **Marketplaces** * [Stripe Connect](docs/marketplaces/stripe_connect.md) * **Contributing** * [Adding A Payment Processor](docs/contributing/adding_a_payment_processor.md) ## 🙏 Contributing If you have an issue you'd like to submit, please do so using the issue tracker in GitHub. In order for us to help you in the best way possible, please be as detailed as you can. For those using devcontainers, if you want to test the application with different databases: 1. Uncomment the `DATABASE_URL` corresponding to阅读完整原文
项目深度分析 AI 生成
预置计费 UI 模板与组件包 (Pay UI Components)
| 产品构想 | 针对 Pay Gem 开发一套基于 Hotwire/Tailwind 的即插即用计费前端组件(定价表、自服务门户、发票下载、支付方式管理)。 |
| 核心功能 | 开箱即用的响应式定价页面、Stripe/Paddle 前端表单绑定、订阅变更确认弹窗、发票历史列表展示。 |
| 目标用户 | 使用 Rails + Pay 的独立黑客与中小型 SaaS 创始人。 |
| 难度/周期 | 低 · 2-4 周 · 成本:低(主要为前端开发与文档制作时间) |
| 收费模式 | 一次性买断代码(类似 Tailwind UI)或单站点授权许可销售。 |
| 竞争风险 | README 中已推荐 Jumpstart Rails 模板,存在同类商业模板的直接竞争(推测)。 |
| 依据 | 已验证事实 |
多网关支付分析与对账 SaaS 插件 (Pay Metrics)
| 产品构想 | 构建一个与 Pay 数据模型原生兼容的报表管理后台 Gem 或轻量 SaaS 服务,聚合多网关数据提供 MRR、Churn、LTV 分析及退款对账。 |
| 核心功能 | 自动挂载到 Rails Engine 的分析看板、跨网关 MRR 计算、Webhook 失败告警、导出财务对账凭证。 |
| 目标用户 | 拥有多支付网关(如同时使用 Stripe 和 Lemon Squeezy)的 Rails SaaS 运营者。 |
| 难度/周期 | 中等 · 1-2 个月 · 成本:低到中等(轻量云服务器和数据存储) |
| 收费模式 | 按月度活跃计费订阅(SaaS 订阅费)或商业 Gem 许可证。 |
| 竞争风险 | 市面上存在 ChartMogul、Baremetrics 等成熟分析平台,需主打极低成本与原生 Rails 隐私优先(推测)。 |
| 依据 | 数据支持的判断 |
企业级复杂计费扩展包 (Pay Pro Extensions)
| 产品构想 | 开发闭源商业扩展 Gem,解决 Pay 基础版未深入覆盖的高阶计费场景(如用量计费/Metered Billing、按席位自动弹性计费、多租户/团队合并开票)。 |
| 核心功能 | Metered usage 记录与上报管道、团队席位变动与 Pro-rata 自动化计算、增值税(VAT)合规发票生成引擎。 |
| 目标用户 | 业务规模扩大的 B2B SaaS 企业开发团队。 |
| 难度/周期 | 中高 · 2-3 个月 · 成本:低(纯代码研发,需深入研读各大支付服务商 API) |
| 收费模式 | 年费商业订阅许可(类似 Sidekiq Pro 模式)。 |
| 竞争风险 | 各大网关底层 API 差异极大,用量计费标准化难度高且维护负担重(推测)。 |
| 依据 | 尚需验证的假设 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
相似项目数据正在完善中,暂不展示(避免误导)
项目优势与风险
| 技术成熟度 | 创建时间待补全,最近推送 ,发布过 97 个 Release |
| 社区活跃 | Star 2,263 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。