Skip to content

docs: add MOTO phone order support to Stripe Terminal page#125

Merged
kilbot merged 4 commits into
mainfrom
feature/moto-docs
Mar 4, 2026
Merged

docs: add MOTO phone order support to Stripe Terminal page#125
kilbot merged 4 commits into
mainfrom
feature/moto-docs

Conversation

@kilbot
Copy link
Copy Markdown
Contributor

@kilbot kilbot commented Mar 4, 2026

Summary

  • Adds "Phone Orders (MOTO)" feature card to the Stripe Terminal gateway page
  • Documents the full setup flow: requesting MOTO access from Stripe, enabling the plugin setting, and connecting a compatible reader
  • Explains how to take a phone order with step-by-step instructions
  • Adds notes about fee differences (online vs in-person rates) and toggle visibility conditions
  • Adds two new troubleshooting items for MOTO-specific issues

Related to: wcpos/stripe-terminal-for-woocommerce#30

Test plan

  • Build the docs site locally and verify the Stripe Terminal page renders correctly
  • Confirm the new "Phone Orders (MOTO)" feature card appears in the feature grid
  • Verify the MOTO setup steps render properly with the Steps/StepCard components
  • Check that the new troubleshooting accordion items expand/collapse correctly

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Added a phone icon for UI use.
  • Documentation

    • Expanded Stripe Terminal docs with Phone Orders (MOTO): setup, taking phone orders, reader compatibility (S700/S710), fees, accessibility link, and expanded troubleshooting entries for MOTO-specific issues.
  • Chores

    • Updated repository ignore patterns to include an additional worktree entry.

kilbot added 2 commits March 4, 2026 10:09
Covers setup steps (Stripe account access, plugin setting, reader
compatibility), usage instructions, fee implications, and
troubleshooting for common MOTO issues.
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Mar 4, 2026 2:12pm

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 4, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0eff93d1-694d-4f05-8aea-2b64237541a9

📥 Commits

Reviewing files that changed from the base of the PR and between 339e0eb and 1e293fd.

📒 Files selected for processing (1)
  • versioned_docs/version-1.x/payment/custom-gateways/stripe-terminal.mdx

📝 Walkthrough

Walkthrough

Adds .worktrees to .gitignore, expands Stripe Terminal docs with Phone Orders (MOTO) content and troubleshooting, and adds a new phone icon mapping in src/components/Icon.js.

Changes

Cohort / File(s) Summary
Build Configuration
\.gitignore
Added .worktrees entry to ignore Git worktree directories.
Documentation
versioned_docs/version-1.x/payment/custom-gateways/stripe-terminal.mdx
Added Phone Orders (MOTO) UI card and a comprehensive MOTO section (setup, taking phone orders, simulator testing, troubleshooting), updated supported terminal text to S700/S710, and minor wording adjustments.
UI / Icons
src/components/Icon.js
Imported faPhone and added a 'phone' key to the icon map to support a phone icon.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Poem

🐰 I nibble on branches, tidy and light,

.worktrees tucked out of sight.
A phone icon hops into view,
MOTO docs flourish—fresh as dew.
🥕📱✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly summarizes the main change: adding MOTO phone order support documentation to the Stripe Terminal page, which aligns with the primary content additions in the PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/moto-docs

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7ab6d34221

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@versioned_docs/version-1.x/payment/custom-gateways/stripe-terminal.mdx`:
- Line 121: Replace the duplicated hardcoded reader lists (the sentence starting
"MOTO only works with the **Stripe Reader S700/S710** and **WisePOS E**" and the
two other occurrences) with a single reference to the canonical Hardware
Compatibility section; remove the explicit reader names from these paragraphs
and change the text to something like "MOTO is supported by compatible readers —
see the Hardware Compatibility section for the full list" (or add an internal
anchor link to that section) so the doc doesn't duplicate maintenance-sensitive
hardware lists.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f3c25649-49eb-44c7-a5d7-7a5db8c46bf9

📥 Commits

Reviewing files that changed from the base of the PR and between 2a94da9 and 7ab6d34.

📒 Files selected for processing (2)
  • .gitignore
  • versioned_docs/version-1.x/payment/custom-gateways/stripe-terminal.mdx

Comment thread versioned_docs/version-1.x/payment/custom-gateways/stripe-terminal.mdx Outdated
@wcpos-bot
Copy link
Copy Markdown
Contributor

wcpos-bot Bot commented Mar 4, 2026

Fix Summary — Round 1

# Source File Category Outcome
1 Codex stripe-terminal.mdx:34 Important Fixed: added phonefaPhone mapping to src/components/Icon.js
2 CodeRabbit stripe-terminal.mdx:121,128,195 Minor Fixed: replaced hardcoded reader lists with anchor links to Supported Terminals section; added S710 to that section; also updated troubleshooting reference at line 177 (blast-radius)

Commit: 339e0eb
Fixed: 2 | Declined: 0 | Deferred: 0

- Add `phone` icon to Icon.js iconMap so the MOTO feature card renders
- Replace hardcoded reader lists with anchor links to Supported Terminals section
- Add S710 to Supported Terminals section for completeness
- Update troubleshooting section to use consistent terminal references

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
versioned_docs/version-1.x/payment/custom-gateways/stripe-terminal.mdx (1)

128-128: Remove redundant wording: “compatible supported reader”.

“Compatible reader” is sufficient and reads more cleanly in both places.

✏️ Proposed wording cleanup
-1. Connect a compatible supported reader (see [Supported Terminals](`#supported-terminals-internet-connected`))
+1. Connect a compatible reader (see [Supported Terminals](`#supported-terminals-internet-connected`))

-  - Make sure you're connected to a compatible supported reader (see [Supported Terminals](`#supported-terminals-internet-connected`)) — the toggle is hidden for other reader types
+  - Make sure you're connected to a compatible reader (see [Supported Terminals](`#supported-terminals-internet-connected`)) — the toggle is hidden for other reader types

Also applies to: 195-195

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@versioned_docs/version-1.x/payment/custom-gateways/stripe-terminal.mdx` at
line 128, Replace the redundant phrase "compatible supported reader" with the
concise wording "compatible reader" wherever it appears (specifically update the
occurrence in the Stripe Terminal doc that currently reads "Connect a compatible
supported reader" and the other instance noted in the file); ensure both
instances are changed to "Connect a compatible reader" (or the same shorter
phrasing used in both places) to keep wording consistent.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@versioned_docs/version-1.x/payment/custom-gateways/stripe-terminal.mdx`:
- Line 159: Update the phrase "**Stripe Reader S700/S710** ✅ - Ethernet/WiFi
connected terminal" to hyphenate the compound modifier by changing it to
"Ethernet/WiFi-connected terminal" so the line reads "**Stripe Reader
S700/S710** ✅ - Ethernet/WiFi-connected terminal".

---

Nitpick comments:
In `@versioned_docs/version-1.x/payment/custom-gateways/stripe-terminal.mdx`:
- Line 128: Replace the redundant phrase "compatible supported reader" with the
concise wording "compatible reader" wherever it appears (specifically update the
occurrence in the Stripe Terminal doc that currently reads "Connect a compatible
supported reader" and the other instance noted in the file); ensure both
instances are changed to "Connect a compatible reader" (or the same shorter
phrasing used in both places) to keep wording consistent.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 43bd6ce4-458b-4763-8f1f-9735f5e16d49

📥 Commits

Reviewing files that changed from the base of the PR and between 7ab6d34 and 339e0eb.

📒 Files selected for processing (2)
  • src/components/Icon.js
  • versioned_docs/version-1.x/payment/custom-gateways/stripe-terminal.mdx

Comment thread versioned_docs/version-1.x/payment/custom-gateways/stripe-terminal.mdx Outdated
@wcpos-bot
Copy link
Copy Markdown
Contributor

wcpos-bot Bot commented Mar 4, 2026

Fix Summary — Round 2

# Source File Category Outcome
1 CodeRabbit stripe-terminal.mdx:159 Minor Fixed: hyphenated "Ethernet/WiFi-connected" (also fixed "WiFi-connected" on line 160 — blast-radius)
2 CodeRabbit stripe-terminal.mdx:128,195 Minor Fixed: removed redundant "supported" from "compatible supported reader" at both locations

Commit: 1e293fd
Fixed: 2 | Declined: 0 | Deferred: 0

- Hyphenate compound modifiers: "WiFi connected" → "WiFi-connected"
- Remove redundant "supported" from "compatible supported reader"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kilbot kilbot merged commit 38feb4d into main Mar 4, 2026
8 checks passed
@kilbot kilbot deleted the feature/moto-docs branch March 4, 2026 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant