jwplayer / ott-web-app

Reference implementation for JWP-powered apps
Apache License 2.0
70 stars 52 forks source link

[IDM-232] - feat: stripe billing portal session #601

Closed kiremitrov123 closed 1 week ago

kiremitrov123 commented 1 month ago

Description

This pull request implements the backend logic for creating a billing portal session within the Access Bridge component. It establishes the necessary interactions with the Sims and Stripe services to validate the viewer and create a checkout session.

Endpoint: POST: /v2/billing-portal

Jira card: Stripe Billing Portal URL Design document: AC-SIMS integration

According to our definition of done, I have completed the following steps:

github-actions[bot] commented 1 month ago

Visit the preview URL for this PR (updated for commit d5cff56):

https://ottwebapp--pr601-idm-232-stripe-billi-b7a25yt7.web.app

(expires Thu, 17 Oct 2024 10:10:52 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c198f8a3a199ba8747819f7f1e45cf602b777529