ScaffoldHub - v2
  • Introduction
  • Modeling
    • Two-way Relationships
  • Setup
    • Backend
    • Frontend
    • File Storage
    • Emails with SendGrid
    • Payments with Stripe
  • Debugging
  • Deployment
    • Database
      • SQL
      • MongoDB
    • Backend
      • Google Cloud - App Engine
      • Google Cloud - Run
      • Under construction...
    • Frontend
      • Firebase Hosting
      • Heroku w/ Subdomains
      • Under construction...
  • Features
    • Projects
    • Preview
    • Tenants
      • Single-Tenant
      • Multi-Tenant
      • Multi-Tenant (w/ subdomains)
    • Payments
    • Security
    • Authentication
      • Sign-in and Sign-up
      • Invitation
      • Password Reset
      • Password Change
      • Email Verification
    • Audit Logs
    • Settings
    • Internationalization (I18n)
    • Entity
      • Form
      • Filter and List
      • Export
      • Import
    • API Documentation
  • Architecture
    • Security
    • File Storage
    • Internationalization (I18n)
    • Payments
    • Typescript Support
    • Rate limiting
    • Technologies Versions
    • Under construction...
  • Recipes
    • Testing the API with Postman
    • Enterprise sign-in with WorkOS
    • Under construction...
  • Support
  • Changelog
    • Documentation
    • Scaffolds
  • Custom Development
  • Legacy Scaffolds
  • Go to ScaffoldHub
Powered by GitBook
On this page
  • Subscribing
  • Managing Subscription
  • Upgrading or Downgrading a Plan
  • Canceling a Plan
  • Features
  • Page Access
  • Action Access
  • Restrictions for Workspaces and Admins
  • The user who subscribed to the plan is the only one that can modify it
  • You can't delete a workspace that has an active plan
  • You can't delete the plan manager or remove its admin permission

Was this helpful?

  1. Features

Payments

PreviousMulti-Tenant (w/ subdomains)NextSecurity

Last updated 4 years ago

Was this helpful?

ScaffoldHub has built-in payments for workspaces using .

Payments are optional, and you can enable them on the modeling tool.

Check the section for instructions on how to set up payments.

Check the sections for technical instructions on how to add or remove plans.

Subscribing

By default, there are three plans, Free, Growth, and Enterprise.

Each workspace starts on the Free plan.

After payment is successful, the application enables the Plan.

Managing Subscription

Users can cancel, upgrade, or downgrade a plan.

Upgrading or Downgrading a Plan

When users upgrade or downgrade a plan on the customer portal, a webhook is triggered, and the application is updated.

Canceling a Plan

When users cancel a plan, it is not canceled immediately, because they paid for the full period. The plan is marked to cancel at the end period and remains active until then.

Features

Permissions/Features can be configured by plan.

Page Access

Action Access

You can also restrict access to specific actions.

For example, if we change the demonstration code to enable the Free plan to read the Premium entity, free users will be able to see the Premium listing, but not to Create, Edit, or Delete records.

Restrictions for Workspaces and Admins

The user who subscribed to the plan is the only one that can modify it

This avoids that different users make charges to other's credit cards.

You can't delete a workspace that has an active plan

Plans marked as cancel at the end period can be deleted, because there won't be any charges in the future for that plan.

You can't delete the plan manager or remove its admin permission

When the User clicks on Subscribe, it opens the page.

When users click on Manage Subscription, they are redirected to the .

When a plan is enabled, its features are also enabled. It's explained in detail on .

On the , all paid plans enable the Premium entity.

Stripe Checkout
Stripe Customer Portal
Architecture > Payments
demonstration
Stripe
Setup > Payments with Stripe
Architecture > Payments