#iCoNio-PI

1 messages · Page 1 of 1 (latest)

kindred quarry
#

I can try to help , can you summarise the issue?

gritty plaza
#

Hey @kindred quarry for sure. I'm trying to the product that was sold through the webhook api. I'm using the charge.succeeded event. That, on its own doesn't give me anything related to the product, I then tried the paymentIntents.retrieve() method using the payment intent and also tried the charges.retrieve()but then again nothing related to the product.

kindred quarry
#

do you have the PaymentIntent ID pi_xxx just so I can look it up and confirm how it was created and where the product information would be?

#

(there might not be any depending on how you integrate)

gritty plaza
#

I do. pi_3L9vTcBFmPjLabqy09rLf1AF

#

I have created the product on Stripe's dashboard and I'm using the purchase link generated by the dashboard.

kindred quarry
#

ok got it

#

for PaymentLinks you generally want to use the Checkout docs since that's what it is under the hood, and it's easier to work with the CheckoutSession API instead of the raw PaymentIntent API

#

to save you time the CheckoutSession ID for that PaymentIntent was cs_test_a1FJEQnjAAPv555sV7roXmbOhC79bGr2oRCuLBS5KJDuHw9JXwBpLrFGo1 so you can test out retrieving/expanding that