#Bloom - Payment Intents
1 messages ยท Page 1 of 1 (latest)
HI ๐
A payment intent is simple meant to capture the intent to pay a merchant
It does not, in itself, capture that that merchant is being paid for
It's a building block
Hey Snufkin thanks for the quick response!
I suppose there is another "building block" being used to track which products have been bought then? and If so how can I tell which payment intent belongs to it
- You can accomplish some degree of tracking by using the
metadataproperty on Payment Intents
- the Checkout Session does use
line_itemswithpriceandproductinformation
If you want more control over your front-end, like using Payment Intents, but want more tracking of products and quantities you can take a look at our Orders API which is currently in beta but publicly testable: https://stripe.com/docs/api/orders_v2
Awesome! That is exactly the piece that I was missing! I see it has the payment Intents ID and list of products. thank you very much. ๐
Since this is in beta I'm wondering how this was accomplished before, I mean there has to be a way to associate a payment intent with the corresponding order, or was this done internally somehow ?
Well we also have Invoices but that comes with a bunch of other configurations and use-cases