Payments
Payments are optional, and you can enable them on the modeling tool.
Check the Architecture > Payments sections for technical instructions on how to add or remove plans.
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.
Users can cancel, upgrade, or downgrade a plan.
.png?alt=media&token=5d016c80-dfb3-434d-96bc-8df3cf054012)

When users upgrade or downgrade a plan on the customer portal, a webhook is triggered, and the application is updated.
.png?alt=media&token=72c848a4-104d-4829-9a80-9c7bee4fb7f2)
.png?alt=media&token=e3ff00ac-0310-4f46-993b-d8de421a79b0)
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.

Permissions/Features can be configured by plan.
When a plan is enabled, its features are also enabled. It's explained in detail on Architecture > Payments.
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.
This avoids that different users make charges to other's credit cards.

Plans marked as cancel at the end period can be deleted, because there won't be any charges in the future for that plan.
.png?alt=media&token=21e73e38-9930-4bdc-afe8-eb4bf7f9ae81)


Last modified 2yr ago