Skip to content

Merge to private-preview - #2334

Merged
zacchua-stripe merged 4 commits into
private-previewfrom
zacchua/merge-java-private-preview
Nov 11, 2026
Merged

zacchua-stripe merged 4 commits into
private-previewfrom
zacchua/merge-java-private-preview

Conversation

@zacchua-stripe

Copy link
Copy Markdown
Contributor

Why?

What?

See Also

Configuration

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

mark-kogan-stripe and others added 4 commits November 9, 2026 10:00
#2323)

* Add error messages to help users debug signature verification failures.

The stripe-signature header may now include additional metadata about
the event destination and the event being sent. These can help narrow
down the reason why signature verification failed.

No changes are made to the verification process; this just updates how
error messages are generated, if the metadata is present in the header.

* Re-run CI
…bject (#2329)

* Preserve Event's own context when fetching and mutating its related object

Event.fetchRelatedObject() used the response getter it was deserialized
with directly, so a later no-options mutation on the returned object
could pick up whatever default account/context the original client had,
instead of the event's own context. EventNotification already avoided
this by deserializing with a context-scoped client; give Event the same
treatment by adding withStripeContext() to StripeResponseGetter /
LiveStripeResponseGetter, and have StripeClient.withStripeContext()
delegate to it instead of duplicating the options-cloning logic.

Fixes RUN_DEVSDK-3694 (java).

Committed-By-Agent: claude

* Update StripeResponseGetter.java

* Simplify comments in Event.java

Removed redundant comments about the context scoping.
# Conflicts:
#	src/main/java/com/stripe/net/RequestOptions.java
@zacchua-stripe
zacchua-stripe requested a review from a team as a code owner November 11, 2026 03:43
@zacchua-stripe
zacchua-stripe requested review from xavdid and removed request for a team November 11, 2026 03:43
@zacchua-stripe
zacchua-stripe merged commit 46c0dd8 into private-preview Nov 11, 2026
20 checks passed
@zacchua-stripe
zacchua-stripe deleted the zacchua/merge-java-private-preview branch November 11, 2026 04:49
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.

4 participants