Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy publishableKey config #59

Merged
merged 2 commits into from
Aug 10, 2019

Conversation

josemarluedke
Copy link
Contributor

@josemarluedke josemarluedke commented Aug 5, 2019

Fixes #53.

@lindyhopchris
Copy link
Contributor

Thanks for this! Looks good.

The only thing that occurs to me is do we know what happens if load is called a second time with a different key? Just wondering what happens as that might be the implication of the original post in #39

@josemarluedke
Copy link
Contributor Author

That's a good question. I don't know the consequences of that. However, we do prevent calling configure if it was already configured, so I guess that's safe.

I guess this PR does not fix #39.

@lindyhopchris
Copy link
Contributor

Yeah, need to clarify whether toggling the publishable key is a requirement and/or even possible. But this PR is great at the mo so will merge for now.

@lindyhopchris lindyhopchris merged commit aab8c7b into code-corps:develop Aug 10, 2019
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.

Lazy initialize stripe configuration
2 participants