Skip to content

Stripe payment integration#419

Merged
epipav merged 24 commits into
mainfrom
feature/stripe-payment-integration
Jan 18, 2023
Merged

Stripe payment integration#419
epipav merged 24 commits into
mainfrom
feature/stripe-payment-integration

Conversation

@epipav
Copy link
Copy Markdown
Collaborator

@epipav epipav commented Jan 11, 2023

Changes proposed ✍️

  • Stripe payment and tenant plan upgrade using webhooks
  • Message is sent to frontend using websockets after upgrade is successful
  • Updated downgrade worker, it also checks the un-payed normal plans and downgrades these with 3 days additional buffer to planSubscriptionEndsAt
  • Downgrading a plan now links to customer portal

Checklist ✅

  • Label appropriately with Feature, Enhancement, or Bug.
  • Tests are passing.
  • New backend functionality has been unit-tested.
  • Environment variables have been updated:
    • Local frontend configuration: frontend/.env.dist.local, frontend/.env.dist.composed.
    • Local backend: backend/.env.dist.local, backend/.env.dist.composed.
    • Configuration docs have been updated.
    • Team members only: update environment variables in override, staging and production env. files and trigger update config script.
  • API documentation has been updated (if necessary) (see docs on API documentation).
  • Quality standards are met.
  • All changes have been tested in a staging site.
  • All changes are working locally running crowd.dev's Docker local environment.

@epipav epipav force-pushed the feature/stripe-payment-integration branch 2 times, most recently from 1c8e62a to 7113bd6 Compare January 13, 2023 09:12
@epipav epipav self-assigned this Jan 13, 2023
@epipav epipav added the Feature Created by Linear-GitHub Sync label Jan 13, 2023
@epipav epipav marked this pull request as ready for review January 13, 2023 09:19
@epipav epipav requested a review from themarolt January 17, 2023 09:50
@epipav epipav force-pushed the feature/stripe-payment-integration branch from 7ed0733 to 8097a49 Compare January 17, 2023 10:35
@epipav epipav merged commit 6b892dc into main Jan 18, 2023
@epipav epipav deleted the feature/stripe-payment-integration branch January 18, 2023 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature Created by Linear-GitHub Sync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants