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

[10.0] Multiple stripe accounts #754

Merged
merged 2 commits into from
Aug 19, 2019
Merged

Conversation

driesvints
Copy link
Member

@driesvints driesvints commented Aug 19, 2019

This adds support to overwrite the default Stripe options on the Billable model. This allows to customize the Stripe secret key amongst else.

There's one concern: since there's no concept of a customer in the PaymentController so there's no way to overwrite the public and secret key there. I've thought about how to solve this but the only way is to pass the customer ID with the url. But that'd be a breaking change and a bit cumbersome to handle. The PaymentController can be easily overwritten though to do any customization here.

Closes #751

@taylorotwell taylorotwell merged commit 1110cbe into 10.0 Aug 19, 2019
@driesvints driesvints deleted the multiple-stripe-accounts branch August 20, 2019 12:01
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.

v10 - Use different API key for different user models
2 participants