One Time Purchase
The one-time pricing configuration allows you to set up and manage one-time payment plans for your application. This configuration is defined in the one-time-pricing.ts file and can be utilized through the OnetimePricing component.
The configuration in one-time-pricing.ts
consists of the following settings for each plan:
Go to the Stripe Dashboard to create a new price for each plan. The price identifier is used to identify the plan in the application. The price identifier is unique to each plan and can be found in the Stripe Dashboard.
Then copy the price identifier and paste it into the priceId
field in the one-time-pricing.ts
file.
The OnetimePricing component is used to display the one-time payment plans in the application.
Was this page helpful?