#jeffreybaird-product-transactions

1 messages · Page 1 of 1 (latest)

hollow rune
#

Hello, can you specify what you are looking for a bit more?

#

Do you know what Stripe object you are considering a transaction here? PaymentIntent? Charge? etc

slender lava
#

@lapis ridge do you have a bit more details?

lapis ridge
#

@slender lava sorry, didn't have notifications on. I am looking for either. The use case is that I need to all the users who purchased a specific Product

slender lava
#

I'm sorry I don't really understand what that could mean can you clarify? It really depends on how you integrated Stripe in the first place

lapis ridge
#

We have a feature that uses Checkout Sessions. In this feature, a user is registering for a class with a one-time payment. The way we currently get this information is to make a request to the Sessions API, and expand the line-items. Then I group the Users by line items in order to display each customer's email under the class they purchased.

#

I would rather be able to make a request to the Product API and get all the charges for a specific product. Or make a request to the Charges API and filter them by product

slender lava
#

yeah that is impossible

#

the only way will be to list all Sessions and then look at their Product

lapis ridge
#

That is what I thought. Just wanted to make sure I wasn't missing something in the docs