stripe-android icon indicating copy to clipboard operation
stripe-android copied to clipboard

Add new parameter as `rememberGooglePayLauncher`

Open winter-love-dev opened this issue 5 months ago • 2 comments
trafficstars

Summary

Added optional publishableKey parameter to rememberGooglePayLauncher() to allow direct key specification without modifying singleton configuration.

  • https://github.com/stripe/stripe-android/issues/10937

Motivation

Eliminates need to reinitialize PaymentConfiguration singleton when switching between different country-specific publishable keys, reducing code complexity and preventing potential race conditions.

Testing

  • [x] Added tests
  • [x] Modified tests
  • [ ] Manually verified

winter-love-dev avatar Jun 13 '25 13:06 winter-love-dev

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.

cla-assistant[bot] avatar Jun 13 '25 13:06 cla-assistant[bot]

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.

cla-assistant[bot] avatar Jun 13 '25 13:06 cla-assistant[bot]

Hi @winter-love-dev

Thanks for your contribution, we've added this to our roadmap and we're working on getting it approved and added!

tianzhao-stripe avatar Jun 26 '25 18:06 tianzhao-stripe