Skip to content

Fix event handler account scoping - #1969

Open
zacchua-stripe wants to merge 2 commits into
masterfrom
zacchua/fix-event-handler-account-context
Open

zacchua-stripe wants to merge 2 commits into
masterfrom
zacchua/fix-event-handler-account-context

Conversation

@zacchua-stripe

@zacchua-stripe zacchua-stripe commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Why?

Follow up to stripe/stripe-node#2850 (comment). Event notification callback clients inherited the original client’s Stripe-Account configuration while also applying the event’s Stripe-Context, which is an error. Hence we drop stripe-account

What?

  • Clear the Stripe account when creating an event-context callback client.
  • Add regression coverage verifying that callback clients use the event’s Stripe context without a Stripe account.

See Also

http://go/j/RUN_DEVSDK-3063

Configuration

  • skip-changefile: This PR is not a user-facing change, so there's no changefile.

zacchua-stripe and others added 2 commits September 16, 2026 11:54
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
@zacchua-stripe
zacchua-stripe marked this pull request as ready for review September 16, 2026 19:39
@zacchua-stripe
zacchua-stripe requested a review from a team as a code owner September 16, 2026 19:39
@zacchua-stripe
zacchua-stripe requested review from jar-stripe and removed request for a team September 16, 2026 19:39
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