Skip to content
CAI
Produce a survey ↗Verify a survey

activemerchant/active_merchant

Active Merchant is a Ruby library that provides a unified interface for processing payments through various third-party gateways. It supports a wide range of transaction types, including standard purchases, recurring billing, and modern digital wallet integrations like Apple Pay and Google Pay. The system manages complex networking, security, and data validation requirements, while also offering tools to verify gateway connectivity and enforce secure communication protocols.

52.5

Adequate · 2 August 2026

73k

lines of production code

Ruby

primary language

23

bus factor · 735 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2007 · Modernization and gateway expansion

This period focused on modernizing the codebase by removing legacy integrations, deprecated modules, and obsolete tooling. Simultaneously, it introduced structured data handling for payment results and expanded support for digital wallets like Apple Pay and Google Pay across multiple gateways.

28 changes

2008–2017 · Payment gateway integrations and validation

This period focused on expanding the library's payment gateway coverage by adding support for Beanstream, Braintree, Orbital, MiGS, and QuickPay. The work also involved refactoring the HTTP connection layer for improved reliability and security, alongside comprehensive test coverage updates for PayPal, CyberSource, and FirstData schemas.

11 changes

2018–2024 · payment gateway expansion and testing

The project focused on broadening payment processing capabilities by integrating new gateways for Cecabank and FirstPay, supporting both modern JSON and legacy XML interfaces. Concurrently, the codebase was updated to ensure compatibility across a wide range of Rails versions and to improve test coverage for transaction schemas.

4 changes

CAI lens gauges

Survey your own repository

activemerchant/active_merchant was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 2 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit ca45b1b063 — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards