Skip to content

Add phone verification inputs - #1969

Draft
oschwald wants to merge 1 commit into
mainfrom
greg/billing-phone-verification-inputs
Draft

oschwald wants to merge 1 commit into
mainfrom
greg/billing-phone-verification-inputs

Conversation

@oschwald

@oschwald oschwald commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Adds three optional properties to Billing and Shipping through their shared LocationProps interface and Location class:

  • phoneVerificationMethod: PhoneVerificationMethod.DeliveredCode, .Network, or .Other, serialized as delivered_code, network, or other.
  • phoneWasVerificationSuccessful: a boolean indicating whether the most recent verification succeeded. Omit it if no verification was attempted.
  • phoneVerificationTime: a Date representing the most recent verification time, serialized as an RFC 3339 timestamp.

The properties serialize as phone_verification_method, phone_was_verification_successful, and phone_verification_time under the corresponding billing or shipping object. Explicit false values are preserved.

Updates the README examples and changelog. Tests cover the shared location properties and exact JSON serialization for both address objects. The targeted Location, Billing, Shipping, and Transaction tests pass (47 tests).

Part of STF-1906.


Description updated by Codex (GPT-6) on behalf of Greg.

@coderabbitai

coderabbitai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

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

Add the optional phoneVerificationMethod, phoneVerificationTime, and
phoneWasVerificationSuccessful properties to Location, which Billing
and Shipping extend. They are sent as phone_verification_method,
phone_verification_time, and phone_was_verification_successful in both
/billing and /shipping. They describe the most recent verification of
the phone number. The new PhoneVerificationMethod enum lists the valid
methods.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oschwald oschwald changed the title Add billing phone verification inputs Add phone verification inputs Oct 12, 2026
@oschwald
oschwald force-pushed the greg/billing-phone-verification-inputs branch from 140b52c to d158396 Compare October 12, 2026 14:56

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant