Skip to content

Clarify saved card update capabilities#13344

Merged
cttsai-stripe merged 7 commits into
masterfrom
cttsai/saved-pm-card-update-capabilities
Jul 8, 2026
Merged

Clarify saved card update capabilities#13344
cttsai-stripe merged 7 commits into
masterfrom
cttsai/saved-pm-card-update-capabilities

Conversation

@cttsai-stripe

@cttsai-stripe cttsai-stripe commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Rename the saved card update capability to canUpdateCardExpiryAndBillingDetails so it only claims expiry and billing detail support
  • Add an explicit canUpdateCardBrandChoice capability for CBC
  • Preserve existing behavior for CustomerSession, legacy EK, CustomerSheet, and CheckoutSession without wiring CheckoutSession updates in this PR
  • Keep the default CBC-enabled value local to the vertical-mode test scenario helper, while preserving explicit overrides for tests that need them

Verification

  • ./gradlew :paymentsheet:apiCheck :paymentsheet:detekt
  • Pre-push hook passed: full ./gradlew detekt apiCheck

This is pre-work for #13341 and is stacked on #13345.

@cttsai-stripe cttsai-stripe requested review from a team as code owners July 2, 2026 21:35
@cttsai-stripe cttsai-stripe marked this pull request as draft July 2, 2026 21:40
@cttsai-stripe cttsai-stripe force-pushed the cttsai/saved-pm-card-update-capabilities branch from 95014ee to dbf7239 Compare July 2, 2026 21:46
@cttsai-stripe cttsai-stripe changed the title Split saved card update capabilities Clarify saved card update capabilities Jul 2, 2026
@cttsai-stripe cttsai-stripe force-pushed the cttsai/saved-pm-card-update-capabilities branch 3 times, most recently from f16d1c7 to 6f1e443 Compare July 2, 2026 22:28
@cttsai-stripe cttsai-stripe force-pushed the cttsai/saved-pm-card-update-capabilities branch from 6f1e443 to 45dbd64 Compare July 2, 2026 22:36
@cttsai-stripe cttsai-stripe changed the base branch from master to cttsai/saved-pm-is-modifiable-cleanup July 2, 2026 22:37
@cttsai-stripe cttsai-stripe force-pushed the cttsai/saved-pm-is-modifiable-cleanup branch from 62ea34e to 4b27fcc Compare July 2, 2026 23:00
@cttsai-stripe cttsai-stripe force-pushed the cttsai/saved-pm-card-update-capabilities branch from 45dbd64 to 7c3967c Compare July 2, 2026 23:02
@cttsai-stripe cttsai-stripe force-pushed the cttsai/saved-pm-is-modifiable-cleanup branch from 4b27fcc to 78d2194 Compare July 2, 2026 23:35
@cttsai-stripe cttsai-stripe force-pushed the cttsai/saved-pm-card-update-capabilities branch from 7c3967c to 92c18ee Compare July 2, 2026 23:37
@cttsai-stripe cttsai-stripe force-pushed the cttsai/saved-pm-is-modifiable-cleanup branch 3 times, most recently from 0f42e71 to 0056d41 Compare July 6, 2026 16:49
Base automatically changed from cttsai/saved-pm-is-modifiable-cleanup to master July 6, 2026 17:23
cttsai-stripe and others added 4 commits July 6, 2026 10:56
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Committed-By-Agent: claude
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
Committed-By-Agent: claude
@cttsai-stripe cttsai-stripe force-pushed the cttsai/saved-pm-card-update-capabilities branch from 92c18ee to 6ef3ec9 Compare July 6, 2026 17:59
@cttsai-stripe cttsai-stripe force-pushed the cttsai/saved-pm-card-update-capabilities branch from 1dd3562 to d940807 Compare July 6, 2026 21:10
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
@cttsai-stripe cttsai-stripe force-pushed the cttsai/saved-pm-card-update-capabilities branch from d940807 to af3b6b4 Compare July 6, 2026 21:22
… createEditCardDetailsInteractorForCard

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Committed-By-Agent: claude
@cttsai-stripe cttsai-stripe force-pushed the cttsai/saved-pm-card-update-capabilities branch from f98b93f to 760f71f Compare July 6, 2026 22:36
@cttsai-stripe cttsai-stripe marked this pull request as ready for review July 6, 2026 22:46
@cttsai-stripe cttsai-stripe merged commit da58cfd into master Jul 8, 2026
51 checks passed
@cttsai-stripe cttsai-stripe deleted the cttsai/saved-pm-card-update-capabilities branch July 8, 2026 21:51
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.

2 participants