Skip to content

fix(google pay): additionalEnabledNetworks is ignored in one constructor#12983

Merged
jaynewstrom-stripe merged 2 commits into
stripe:masterfrom
davwheat:fix/additionalEnabledNetworks
May 5, 2026
Merged

fix(google pay): additionalEnabledNetworks is ignored in one constructor#12983
jaynewstrom-stripe merged 2 commits into
stripe:masterfrom
davwheat:fix/additionalEnabledNetworks

Conversation

@davwheat

@davwheat davwheat commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Summary

additionalEnabledNetworks is never passed from the public to the internal constructor

This is used by GooglePayButton which ultimately reads this value from the Google Pay config.

Motivation

It would be helpful to actually use the config options API users can provide.

Testing

  • Added tests
  • Modified tests
  • Manually verified

Changelog

  • [FIXED]12983 Fixed an issue where additionalEnabledNetworks would not be respected for Google Pay payments.

@davwheat davwheat requested review from a team as code owners April 30, 2026 16:55
@davwheat davwheat requested a review from samer-stripe April 30, 2026 16:55
@cla-assistant

cla-assistant Bot commented Apr 30, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@cla-assistant

cla-assistant Bot commented Apr 30, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@davwheat davwheat force-pushed the fix/additionalEnabledNetworks branch from b21ad2c to cbdc4f0 Compare April 30, 2026 17:05
@jaynewstrom-stripe

Copy link
Copy Markdown
Collaborator

Thanks! I'm going to follow up with a PR to move the changelog entry, but otherwise looks good to me!

@jaynewstrom-stripe jaynewstrom-stripe merged commit 5e68604 into stripe:master May 5, 2026
32 of 39 checks passed
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