Add-Ons page: show built-in payment gateways as always-active cards (RFC)#3195
Add-Ons page: show built-in payment gateways as always-active cards (RFC)#3195tuguirazvan wants to merge 7 commits into
Conversation
Lite ships Stripe, Square, and PayPal processing in core, but the Add-Ons page presented "Stripe" and "PayPal Standard" as Business-locked add-ons, which reads as "you can't take payments without Business". - Inject Stripe, Square, and PayPal as built_in entries (same pattern as the hardcoded Formidable Pro card). They render as active cards: toggle on and disabled, no padlock, View Docs footer, and a frm_help tooltip explaining the toggle is always on. - Built-in cards count under the stock "Active" sidebar tab. - Present the add-ons that extend the built-in gateways as their tiers: "Stripe" becomes "Stripe Pro" (excerpt leads with removing the 3% transaction fee), "PayPal Standard" becomes "PayPal Legacy". These are display-level overrides until the add-ons API reflects the naming. Experiment/RFC quality: @SInCE placeholders, untranslated strings, and Business/Elite states are untested on a licensed install. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Clicking a disabled toggle (built-in gateways, Formidable Pro) ran the activate/deactivate action lookup and crashed on the missing action button. Matches the guard on the add_mock_addons branch. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Aligns with the naming used on the add_mock_addons branch. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The overridden Stripe Pro excerpt claimed installing the add-on removes the 3% transaction fee, but fee removal is gated by the license. Keep the add-ons' original excerpts and only override the display names. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
🚧 Files skipped from review as they are similar to previous changes (3)
📝 WalkthroughWalkthroughThe Add-Ons page now includes predefined built-in payment gateways. Built-in entries receive active status, bypass locking, use expanded icon mappings, render dedicated controls and documentation links, and ignore disabled toggle interactions. ChangesBuilt-in add-on support
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
Overall Grade |
Security Reliability Complexity Hygiene |
Code Review Summary
| Analyzer | Status | Updated (UTC) | Details |
|---|---|---|---|
| PHP | Jul 21, 2026 2:45p.m. | Review ↗ | |
| JavaScript | Jul 21, 2026 2:45p.m. | Review ↗ |
Important
AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.
Release tooling replaces x.x with the version number. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Fixes the two PHPCS Squiz.Commenting.LongConditionClosingComment errors. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Searching by the original name still finds the card; only the displayed name assertions change. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Related ticket https://linear.app/strategy11/issue/DES-9/payment-processor-add-ons-in-lite-v-stripe-pro
Lite includes Stripe, Square, and PayPal processing, but the Add-Ons page presents them as Business-locked add-ons, so users think they can't take payments without upgrading.
In this update,
🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Bug Fixes