#ermander-webhook
1 messages · Page 1 of 1 (latest)
Ehm, actually i don't know the difference between you api
How can i give you this information?
which guide are you following in building your integration?
like a link to the section of the Stripe docs you're using
cool cool, but which one, the "prebuilt Checkout page" or the "Custom payment flow"?
Custom
cool! then what I'd suggest is when you create the PaymentIntent in your backend code, you should pass some metadata to it which can contain your own unique IDs : https://stripe.com/docs/api/payment_intents/create#create_payment_intent-metadata
that metadata will be in the object you receive as part of the payment_intent.payment_succeeded webhook event so you can reconcile that webhook to the payment/product.
Like that?
yes
actually i don't find any metadata in my response
When the webhook calls my endpoint
you should. Do you have the event ID evt_xxx of a case where you don't see it?
This one?
that could work yes
you'd need to paste it though as text, the screenshot isn't much help to me looking it up on our side 🙂
pi_3KxV5vI2WhRxH7Hn0tWMLOaE