hngprojects / hng_boilerplate_python_fastapi_web

Apache License 2.0
153 stars 136 forks source link

feat: integrate stripe payment and add endpoint for fetching user plans in organisation #860

Closed MikeSoft007 closed 2 months ago

MikeSoft007 commented 2 months ago

Description

This PR introduces two key features:

Stripe Payment Integration:

Implemented functionality to update a user's subscription plan using Stripe.

Added an endpoint to fetch all organizations with their associated users and subscription plans.

The integration with Stripe ensures that users can be subscribed to different plans, while the new endpoint provides a comprehensive view of users and their plans within an organization.

Related Issue (Link to issue ticket)

Motivation and Context

The addition of Stripe payment integration and the endpoint for fetching user plans solves the following problems:

How Has This Been Tested?

Screenshots (if appropriate - Postman, etc):

image image

Types of changes

Checklist: