Skip to content

Stripe integration#3

Merged
kashifpk merged 24 commits intomasterfrom
stripe-integration
Feb 11, 2025
Merged

Stripe integration#3
kashifpk merged 24 commits intomasterfrom
stripe-integration

Conversation

@kashifpk
Copy link
Owner

  • Billing, notifications and overall restructuring
  • Notifications API moved from core to notifications app. Test cases updates and better structuring.
  • Billing plans limit checker with test cases
  • Enforce billing limits on POST requests for resource creation
  • Bigger tests fix after introducing plan based limits on product, project and component creation. This required fixing test cases across the whole project.
  • Style fixes.
  • Use proper error page when display billing limits related error.
  • Ignore cursorrules folder as that is IDE specific and should not be placed in the repo.
  • Ensure that sboms become public when downgrading to community plan.
  • Test cases for core rename api

…ect and component creation. This required fixing test cases across the whole project.
…re cursorrules folder as that is IDE specific and should not be placed in the repo.
…a test environment inside the billing data migration. This attempts to fix that.
…probably the cause of the failing build due to migrations issue. This attempts to fix it.
…l patches, mocks and fixtures for billing settings, now they are managed in test_settings.py which is more proper. Replaced all billing fixtures with one unified fixture and ensured that it is used automatically to avoid making calls to stripe during tests by accident. Update the sample values for billing related fixtures to be more inline with what stripe actually returns.
…lecting static files etc work during tests. This aims to fix the CI/CD issues.
… of sbomify.test_settings as the DJANGO_SETTINGS_MODULE. Hopefully this fixes the issue.
…h rights to the test databse to drop and create it.
@kashifpk kashifpk merged commit 8a14cdc into master Feb 11, 2025
5 checks passed
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.

1 participant