For the use case, we are a nonprofit donation platform where users can choose to donate to any nonprofit organization in the United States. We use an external API to fetch this list since there are 1.8M nonprofits in the United States I’ve simply been following th Saas course for a starting point since I’ve had no technical background. Note, also because of this we are using price_data in Stripe because we cannot create 1.8M products within to create a Price ID.
For this reason as well, we’ve created an e-commerce experience with a cart, etc. so users can choose how much they want to donate, whether monthly or once, etc.
We’ve use a lot of price_data parameters from Stripe to get this data together, but here is that screenshot:
The line items are:
line_items[0][quantity]
line_items[0][price_data][unit_amount]
line_items[0][price_data][currency]
line_items[0][price_data][recurring][interval]
line_items[0][price_data][product_data][name]
line_items[0][price_data][product_data][description]
line_items[0][price_data][product_data][images]