wasp-lang / open-saas

A free, open-source SaaS app starter for React & Node.js with superpowers. Production-ready. Community-driven.
https://opensaas.sh
MIT License
6.05k stars 583 forks source link

Credits based payment instead of Monthly subscription #127

Closed programmersoham closed 1 month ago

programmersoham commented 1 month ago

Most Consumers do not like to pay subscriptions every month. Subscribing to a new monthly subscription is very annoying because users tend to forget to cancel their other unused subscriptions. It is better to provide an alternative to SASS builders who want to implement credit-based payments instead of monthly subscriptions.

vincanger commented 1 month ago

Hey Soham.

That is documented here: https://docs.opensaas.sh/guides/stripe-integration/

and available in the code here: https://github.com/wasp-lang/open-saas/blob/main/app/src/server/webhooks/stripe.ts#L67