#ermander-webhook

1 messages · Page 1 of 1 (latest)

hushed olive
#

hi there! that should be possible, depends exactly which APIs you're using.

vernal cloak
#

Ehm, actually i don't know the difference between you api

#

How can i give you this information?

hushed olive
#

which guide are you following in building your integration?

#

like a link to the section of the Stripe docs you're using

hushed olive
#

cool cool, but which one, the "prebuilt Checkout page" or the "Custom payment flow"?

vernal cloak
#

Custom

hushed olive
#

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.

vernal cloak
#

Like that?

hushed olive
#

yes

vernal cloak
#

actually i don't find any metadata in my response

#

When the webhook calls my endpoint

hushed olive
#

you should. Do you have the event ID evt_xxx of a case where you don't see it?

vernal cloak
#

This one?

hushed olive
#

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 🙂

vernal cloak
#

pi_3KxV5vI2WhRxH7Hn0tWMLOaE

hushed olive
#

you didn't set any metadata on that specific PaymentIntent.

#

that one was created by calling stripe payment_intents create or something in CLI, right? Not with the backend Node code you pasted above.

vernal cloak
#

damned

#

let my do it by the frontend

#

I made it with the stripe cli

#

xD

#

It worked, thanks a lot!