#akii
1 messages · Page 1 of 1 (latest)
could you share what you would like to achieve?
Actually, we are making Test groups in Cognito, where certain users who will be able to test in production will be added. So we will reload the publishable key value after it has been loaded.
We want to use a different stripe account when we will test, so that's why different publishable key value
That will be up to your client to update to new publishable key when re-initialising Stripe at frontend: https://stripe.com/docs/js/initializing, i.e. picking which publishable key to use
I just want to know if there is an an issue if i change the publishable key?
No, there won't be any issue as long as your PaymentIntent or SetupIntent client secret used belongs to the same account that the publishable key is used
Ohk good to know, thanks for all the help
No problem! Happy to help 😄