#dan-burke - product charges

1 messages ยท Page 1 of 1 (latest)

dense badgeBOT
fickle seal
#

Hi ๐Ÿ‘‹

Charges and Payment Intents are not aware of particular products (as in they don't use Price IDs). Did you mean Invoices or Checkout Sessions?

#

dan-burke - product charges

opaque garden
#

what I actually want is the record of all of the purchases of a given product and for what $ amount. what's the best way to get that?

cyan linden
#

it really depends how your integration in built in the first place. What exact product/APIs are you using?

opaque garden
#

i'm using Stripe Connect to power our contractor payments platform. Our customers (companies paying their contractors) are Stripe Customers and the contractors they're paying are Express Accounts

I want to be able to show a company a record of their payments to their contractors

cyan linden
#

unfortunately, this is still really vague

#

How do you accept payments? Are you using Checkout? PaymentLinks? Invoices?
Or just creating PaymentIntents or Charges yourself?

opaque garden
#

ah, we use Checkout Sessions

cyan linden
#

so that's where you'd look

opaque garden
#

any plans to make a search endpoint for sessions? ๐Ÿ˜›

cyan linden
#

no plan to do that for now no

opaque garden
#

there's no way for me to add metadata to charges or payment intents that would help me here if i'm using checkout sessions, correct?

cyan linden
opaque garden
#

why aren't you a fan of that? seems like exactly what I want

cyan linden
#

because what do you do if you Session has 100 items? What when you enable product cross-sells, quantity changes, etc. There are many things that can change what's in a Session over time.
Really what you want is to track what was paid for, which I would entirely do in my own database myself if it were me

opaque garden
#

gotcha, thanks for your perspective and help! you can close this