#devparry

1 messages · Page 1 of 1 (latest)

worn creekBOT
tulip oracle
#

Hi there!

last marten
#

yes

#

Hi Soma how are you

tulip oracle
#

is this a one time payment or recurring payment?

last marten
#

recurring

tulip oracle
#

by "checkout" do you mean Checkout Session?

last marten
#

yes

tulip oracle
last marten
#

and how i can fetch the stripe plans ?

tulip oracle
last marten
#

okay do Stripe have any webhook that helps to know when any plan create on stripe ? so that all plans are async with stripe with my database ?

tulip oracle
last marten
#

yes

#

I have question

tulip oracle
#

sure, what's your question?

last marten
#

first of all, we have to create a product under the stripe then we have to assign or create price under it ?

tulip oracle
worn creekBOT
serene glen
#

👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!

last marten
#

hi

#

i am little bit confused

serene glen
#

how may I help?

last marten
#

let me explain what is our requirment

#

please based on that suggest me the steps

#
  1. We have a course website,

  2. First we have to display All the subscription Products under the course create | edit pages where Admin can assign multiple products to a single course. ( these assign product id we will store under our local DB )

  3. On the course page for front-end users we have to display assigned plans in the drop-down list. so that the user can select one subscription plan and based on the selected plan system will redirect to stripe session checkout for payments

  4. Once the payment done we have to store the success subscription detail on localDB

could you please suggest to me how I can achieve this?

serene glen
#

are you managing the product catalog in Stripe?

last marten
#

Yes

serene glen
#

then you don't really need to store the products under your DB

#

since they are already stored in Stripe

last marten
#

okay

#

so what i need to do now ?

serene glen
#

this is a guide on "how to manage products and prices at Stripe"

last marten
#

checking

#

what about the point 2. ?

which api helps to get list of all products ?

serene glen
last marten
#

is products also contain price related data?

serene glen
#

no that's why I suggested also the List Prices API

last marten
#

but we have to display product details

worn creekBOT
last marten
#

do we need a add a loop for this to get product price list ?

static escarp
#

Yes you need to iterate on both APIs my colleague shared with you

last marten
#

okay thanls

#

let me try this