#HopRobotics - PaymentLink webhook products
1 messages · Page 1 of 1 (latest)
You will want to retrieve the Checkout Session by its ID, then you can see the products for it in its line_items hash
Thanks. What type of event does the Checkout Session field show up in? Is this the "id" within the payment_intent.suceeded event data? (very 1st result)
I'm using Collect2.com to receive and view data
That would be the ID of the PaymentIntent which is related but different. You will actually want to listen for the checkout.session.competed event here, the id of the checkout session will be the id of the object in that event
Okay so its a multi-step process on the application end? I.e. Listen for the checkout.session.completed event, grab the "id" and then use a separate GET request using the id/line_items
Correct, unfortunately the line items are not send in the event so you will need to retrieve them with the API
Thanks for your help, first time user and your support is wonderful!