#yopodi

1 messages · Page 1 of 1 (latest)

swift remnantBOT
fervent birch
#

Where are you setting the product?

sleek zenith
#

I'm using
stripe.checkout.Session.create(line_items=line_items . . .)
with the line items list I'm receiving from the frontend

#

but I'm not saving any information when creating the checkout sesion, only redirecting the client to the url

fervent birch
#

I'm confused. What product are you talking about?

sleek zenith
#

ok, from the beginning

#

I have implemented a 'store' in my frontend, from which I receive a list of prices ids that I use to create a checkout session

#

this prices are not subscriptions just one time payments

#

when the client makes his purchase this are the events that are triggered in the webhook:

 payment_intent.succeeded [evt_3N5uWOHKwC1Nojb61kQINoOi]
 checkout.session.completed [evt_1N5uWRHKwC1Nojb6kB7eBO7C]
payment_intent.created [evt_3N5uWOHKwC1Nojb61EfcipWU]
mandate.updated [evt_1N5uWRHKwC1Nojb6DRRdTtLU]
 charge.succeeded [evt_3N5uWOHKwC1Nojb61haVikfB]
#

from that events I'm trying to obtain the list of products that the client bought

#

but none of them seems to contain that information

#

I have another section where the type of prices that I use are plans for subscriptions and there I can get what products did the customer acquired, but in this scenario that is not the case

fervent birch