Pricing
To configure the plans on the pricing page, you must first register the products on Stripe https://dashboard.stripe.com/products and create the monthly and annual price links.
With the products created in Stripe and the price payment links, we can now configure the project.
In the app.config.ts file there is an attribute called plans where plans such as PRO, PREMIUM, etc. will be created.
The following attributes to be integrated with Stripe correctly are:
app.config.ts
product_id: "prod_XXXXXXXXXXXXX", // Stripe - product ID
prices: {
month: {
link: "https://buy.stripe.com/XXXXX" // Stripe - link payment price
}
}
There is already an example for the other attributes to follow.
There is a commented example in the app.config.ts file, for a single payment.