#mekhami-donation-sub

1 messages · Page 1 of 1 (latest)

rugged junco
paper laurel
#

It looked like, from reading this, that I need to create price objects for these subscriptions. I'd end up having to just create a price object arbitrarily for every price point my users end up wanting to donate at. Is that normal?

rugged junco
#

I'd end up having to just create a price object arbitrarily for every price point my users end up wanting to donate at. Is that normal?
you can pass price_data inline when creating the Subscription. That way you don't have to create a Price up front

#

and works with your donations use-case

#

this will create Price objects under the hood in your account, you can just ignore them really

#

but it allows you to create a Price in-line

paper laurel
#

okay that's useful. and can I associate all of these to one product id? or do i need to create products as well?

rugged junco
#

one Product <> n Prices

#

is the approach generally

paper laurel
#

perfect. okay i'll take this approach and see how far i get. thank you 🙂