#Gilad

1 messages ยท Page 1 of 1 (latest)

clever tulipBOT
tender phoenix
#

๐Ÿ‘‹ happy to help

#

PaymentIntents aren't made to be used with products

#

they are just a way of describing the Intent of a customer to pay you a certain amount

novel inlet
#

I see...
So I have to make a call to see what products the user is paying for?

#

Hi, thanks for helping ๐Ÿ™‚

tender phoenix
#

how are you integrating with Stripe? what are you using? Checkout Sessions, Payment Intents with Elements? etc

novel inlet
#

Yes, we have checkout sessions,
we are actually save the product after 'customer.subscription.updated'

#

So I guess I can use that..

tender phoenix
#

if you're using Checkout Sessions with Subscriptions

#

what you need to listen to is basically invoice.paid events

novel inlet
#

So in these webhook the product id is in the data?

tender phoenix
clever tulipBOT
pale hill
#

Is this the same with one off checkout sessions? fetching from line_items to price to product seems too over the top

lethal leaf
#

@pale hill Please ask your question in #dev-help