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

Add Organization Owner's email to Organization model #4309

Merged
merged 2 commits into from Mar 6, 2023

Conversation

JacquelineMorrissette
Copy link
Contributor

Checklist

  1. If you've added code that should be tested, add tests
  2. If you've changed APIs, update (or create!) the documentation
  3. Ensure the tests pass
  4. Make sure that your code lints and that you've followed our coding style
  5. Write a description of your work suitable for publishing on our forum
  6. Mention any related issues in this repository (as #ISSUE) and in other repositories (as kobotoolbox/other#ISSUE)
  7. Open an issue in the docs if there are UI/UX changes

Description

Add the Organization Owner's email to the Organization model to allow it to meet dj-stripe's requirements

Other Notes

  • All customer's are now syncing to the Customer Stripe Model
  • This needs to be tested thoroughly on the billing staging server with the actual webhook, I tested it to the best of my ability locally, but I cannot test with the webhook
  • This PR also add's the missing DJSTRIPE_SUBSCRIBER_MODEL_REQUEST_CALLBACK and corresponding method to the settings file. Inspiration taken from David's work on GlitchTip

kobo/settings/base.py Outdated Show resolved Hide resolved
kobo/apps/organizations/models.py Outdated Show resolved Hide resolved
kobo/apps/organizations/models.py Outdated Show resolved Hide resolved
@bufke bufke merged commit 5f6c0fe into feature/billing Mar 6, 2023
@bufke bufke deleted the add-email-to-organization branch March 6, 2023 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants